lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
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?



-- 
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message