lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw00d <markharw...@yahoo.co.uk>
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 
programatically.

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

Cheers
Mark





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


Mime
View raw message