|
A Short Insight on 3 Types of Solr Caches |

Friday, 22 January 2010
|
There
are three types of built-in caches in Solr. When these caches are set
up correctly it can aid in improving application performance.
The three types of Solr caches should be carefully used after enough consideration given to the actual usage of the application. Let's take a look at them now. FilterCache
QueryCache
DocumentCache
Some Important Points to Note 1.
Always check the cache statistics that is shown in the Solr admin
webpage. Very low hit rates mean that the cache may be doing more
harm than good. Very high eviction rate could mean that the cache is
too small, and also may be doing more harm than good. 2. Remember
to check the Solr Wiki on SolrCaching and be sure to use the
appropriate settings for best performance. 3. Always be mindful of
the autowarm value. This tells Solr how many entries to take from the
old cache and put into the new one when a new view of the index is
opened. 4. The document cache cannot be autowarmed, while the other two require a large value that is big enough to give the caches a good filling. Using Solr caches can greatly improve enterprise search application performance Article Source: http://www.ArticleBlast.com |
You are welcome to publish this article free of charge on your website, newsletter, or e-zine, provided:
- You don't change the article in any way
- You include the entire article, including the "about the author" box
- All hyperlinks must remain intact, including email addresses, and the link to ArticleBlast.com at the bottom
- In doing so you agree to indemnify the article's author, and ArticleBlast.com and its directors, officers, employees and agents from and against all losses, claims, damages and liabilities which arise out of its use
- It is also recommended that you provide a courtesy copy of your publication to the author of the article