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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to