Dear Wiki user,

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

The following page has been changed by paulsundling:
http://wiki.apache.org/solr/EmbeddedSolr

------------------------------------------------------------------------------
  
  If processing batches of records, performance is much better if commits are 
done at intervals.  For millions of documents being added you should optimize 
after completing indexing to reduce the number of files in the index.  For 
example, 3 million documents resulted in 858 files with a mergeFactor of 100.  
See chapter 2.8 of Lucene in Action or 
[http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc/org/apache/lucene/index/IndexWriter.html#optimize()
 IndexWriter] for more information.  To optimize, use the true flag for the 
[http://lucene.apache.org/solr/api/org/apache/solr/update/CommitUpdateCommand.html
 CommitUpdateCommand].
  
- Indexing using Embedded Solr is faster 
[#head-d6f1e7a04c5b62bcb776dfcbb8950d2197a65ad8 SolrPerformanceFactors].
+ Indexing using Embedded Solr is faster 
[:SolrPerformanceFactors#head-d6f1e7a04c5b62bcb776dfcbb8950d2197a65ad8: Solr 
Performance Factors].
  
  {{{
  import org.apache.solr.request.SolrRequestHandler;

Reply via email to