lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Allowing IOExceptions in TermVectorMapper?
Date Wed, 24 Oct 2007 23:23:25 GMT
How about allowing IOExceptions beeing thrown from the abstract  
TermVectorMapper methods?

The use case is that I want a normalized frequency, and I'd like to  
do that by loading the factor from an IndexReader in setExpectations.

I could wrap it in a RuntimeException, I could update the values  
later. But TermVectorReader.readTermVector already throws  
IOException, so using that feels like the optimal solution to me. Or?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message