lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34930] - [PATCH] IndexWriter.maybeMergeSegments() takes lots of CPU resources
Date Wed, 25 May 2005 01:22:59 GMT
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 psmith@apache.org  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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message