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/10 00:30:36 UTC

[Lucene-java Wiki] Update of "ImproveIndexingSpeed" by KarlWettin

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:
http://wiki.apache.org/lucene-java/ImproveIndexingSpeed

The comment on the change is:
Searcher usage

------------------------------------------------------------------------------
   * '''Make sure you are using the latest version of Lucene.'''
  
   * '''Open a single writer and re-use it for the duration of your indexing session.'''
+ 
+  * '''Re-use your [http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc/org/apache/lucene/search/IndexSearcher.html searcher] at least until the index change.'''
+ 
+  Even better, wait until you need to match the new documents. Many caches are lost when opening a new searcher. Consider using a so called [http://wiki.apache.org/solr/SolrCaching warming] technique.
  
   * '''Flush by RAM usage instead of document count.'''