lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw00d <>
Subject Re: Why exactly are fuzzy queries so slow?
Date Sat, 24 Nov 2007 17:28:48 GMT
The added IO is one factor. Another is the CPU load from doing many 
edit-distance comparisons between index terms and the provided search 
term. You can limit the number of edit distance comparisons conducted by 
setting the minimum prefix length. This is a property of the QueryParser 
if parsing queries and a property of FuzzyQuery if constructing 

 >>P.S. arent' there any "best practices" for lucene?

Yes. The front page of the the WIKI has a "Basics of Performace". I've 
added a note on FuzzyQueries to the "ImproveSearchingSpeed" page


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message