lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "ImproveSearchingSpeed" by DoronCohen
Date Mon, 11 Jun 2007 17:17:18 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 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.'''
  

Mime
View raw message