DO NOT REPLY [Bug 34930] - [PATCH] IndexWriter.maybeMergeSegments() takes lots of CPU resources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34930] - [PATCH] IndexWriter.maybeMergeSegments() takes lots of CPU resources

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34930





------- 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.

cheers,

Paul Smith



--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]