------- Additional Comments From [hidden email] 2005-05-25 03:22 -------
(In reply to comment #12)
> Most likely the IOExceptions stem from FastCharStream of StandardAnalyzer, at
least that's my experience.
> See the header of your hprof file to check if that's the case.
> Javacc has a gotcha in that it "likes" IOExceptions as part of the normal
control flow on stream termination.
> I have performance patches for this that make FastCharStream 2-10 times faster
for small inputs (it
> doesn't matter on large inputs), but I never bothered submitted them since
they were not crucial for me,
> and seeing that most submissions to lucene-dev go into a black hole anyway
without any response,
> neither negative or positive, simply ignored... Hint :-)
Hey, could you send me the patch for this? I'd like to test it out. I've
verified the FastCharStream class does throw IOException when EOF, which of
course occurs very frequently when indexing small Fields. I can't see a quick
and easy solution to indicate EOF without the exception, so I'm keen to see your
work and test it out with my scenarios.