lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Update of "ImproveSearchingSpeed" by KarlWettin
Date Wed, 16 Jul 2008 12:56:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by KarlWettin:

The comment on the change is:

   Fuzzy queries perform CPU-intensive string comparisons - avoid comparing all unique terms
with the user input by only examining terms starting with the first "N" characters. This prefix
length is a property on both QueryParser and FuzzyQuery - default is zero so ALL terms are
+  * '''Consider using [
+  It can be much more efficient to restrict results to a part of the index using a cached
bit set filter rather than using a query clause. This is especially true for restrictions
that match a great number of documents of a large index. Filters are typically used to restrict
the results to a category but could in many cases be used to replace any query clause. One
difference between using a Query and a Filter is that the Query has an impact on the score
while a Filter does not.

View raw message