You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/10/26 23:57:34 UTC

DO NOT REPLY [Bug 31882] - [PATCH] FuzzyTermEnum optimization and refactor

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

[PATCH] FuzzyTermEnum optimization and refactor





------- Additional Comments From daniel.naber@t-online.de  2004-10-26 21:57 -------
The "synchronized" for the similarity() method should no be necessary, should 
it? 
 
I tried modifying the value of TYPICAL_LONGEST_WORD_IN_INDEX (e.g. to 1 or to 
100) and I didn't see any real difference. Are you sure this particular 
optimization is useful? 
 
As I mentioned, the speedup of all changes together is 20-40% in my short 
tests, so I'm sure this patch will be committed sooner or later.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org