You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/06/28 22:17:38 UTC

[Solr Wiki] Update of "SolrCaching" by YonikSeeley

Dear Wiki user,

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

The "SolrCaching" page has been changed by YonikSeeley:
http://wiki.apache.org/solr/SolrCaching?action=diff&rev1=24&rev2=25

Comment:
remove jira link and correct comment

      -->
      <HashDocSet maxSize="3000" loadFactor="0.75"/>
  }}}
+ 
+ Note: hashDocSet is no longer used in the filterCache as of version 1.4.0.
+ 
  The hashDocSet max size should be based primarily on the number of documents in the collection—the larger the number of documents, the larger the hashDocSet max size. You will have to do a bit of trial-and-error to arrive at the optimal number:
  
   1. Calculate 0.005 of the total number of documents that you are going to store.
   1. Try values on either 'side' of that value to arrive at the best query times.
   1. When query times seem to plateau, and performance doesn't show much difference between the higher number and the lower, use the higher.
  
- Note: hashDocSet is no longer part of Solr as of version 1.4.0, see [[https://issues.apache.org/jira/browse/SOLR-1169|SOLR-1169]].
  
  = Tradeoffs =
  Increasing autoWarming values will cause additional latency due to auto-warming from the time that you request a new searcher to be opened until the time that it becomes "registered".