I was profiling my search code and saw an awful lot of Exceptions being throw 
for simple usages of QueryParser:

 http://www.ronosaurus.com/lucene/indexsearcher_queryparser_ioexception.png

For example this code produces 2 IOExceptions in FastCharStream (line 25):

 QueryParser parser = new QueryParser("name", new StandardAnalyzer());
 parser.Parse("produce");

Is that normal? In my screenshot there's close to 100 Exceptions within 15 
seconds of running some threaded searches.  Would the FastCharStream be faster 
if it didn't throw so many Exceptions? I tried hacking CanRead() into 
CharStream but didn't get very far.

Reply via email to