You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/11 19:17:18 UTC
[Lucene-java Wiki] Trivial Update of "ImproveSearchingSpeed" by DoronCohen
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 DoronCohen:
http://wiki.apache.org/lucene-java/ImproveSearchingSpeed
------------------------------------------------------------------------------
* '''Re-open the [http://lucene.apache.org/java/docs/api/org/apache/lucene/search/IndexSearcher.html IndexSearcher] only when necessary.'''
- You must re-open the [http://lucene.apache.org/java/docs/api/org/apache/lucene/search/IndexSearcher.html IndexSearcher] in order to see make newly committed changes visible to searching. However, re-opening the searcher has a certain overhead (noticeable mostly with large indexes and with sorting turned on) and should thus be minimized. Consider using a so called [http://wiki.apache.org/solr/SolrCaching warming] technique which allows the searcher to warm up its caches before the first query hits.
+ You must re-open the [http://lucene.apache.org/java/docs/api/org/apache/lucene/search/IndexSearcher.html IndexSearcher] in order to make newly committed changes visible to searching. However, re-opening the searcher has a certain overhead (noticeable mostly with large indexes and with sorting turned on) and should thus be minimized. Consider using a so called [http://wiki.apache.org/solr/SolrCaching warming] technique which allows the searcher to warm up its caches before the first query hits.
* '''Run [http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexWriter.html#optimize() optimize] on your index before searching.'''