You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by deniz <de...@gmail.com> on 2012/08/28 09:37:59 UTC

Frequently Updated Index and Caching

Hi All,

If we are updating out index very frequently on some fields, do we still
need to use caching or we can simply disable it? 

http://wiki.apache.org/solr/SolrCaching#Overview

After reading this part I feel like a frequently updated index wont need a
cache for performance, as its data will be changing so frequently that the
entries on the old cache could be old.

I have read the rest of the page too and I think I should disable caching
for our case, but I cant be sure either if indexing could improve the
performance or not...

anyone have used caching with frequent updates? if so could you please give
me some information about that? 



-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/Frequently-Updated-Index-and-Caching-tp4003626.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Frequently Updated Index and Caching

Posted by Chris Hostetter <ho...@fucit.org>.
: filtercache. Whether you're getting decent hit ratios is what tells you whether
: disabling caching is a good idea or not.

Right ... further down on the page you mentioned is a note about disabling 
caching. I've beefed it up with some additional info...

https://wiki.apache.org/solr/SolrCaching#Disabling_Caching


-Hoss

Re: Frequently Updated Index and Caching

Posted by Erick Erickson <er...@gmail.com>.
Hmmm, the critical thing here is not how often you change the index,
it's how often you commit.

Look at your Solr admin/stats page and your logs. You'll
see things like "hit ratio" and "cumulative hit ratio" for, particularly, your
filtercache. Whether you're getting decent hit ratios is what tells you whether
disabling caching is a good idea or not.

Best
Erick

On Tue, Aug 28, 2012 at 3:37 AM, deniz <de...@gmail.com> wrote:
> Hi All,
>
> If we are updating out index very frequently on some fields, do we still
> need to use caching or we can simply disable it?
>
> http://wiki.apache.org/solr/SolrCaching#Overview
>
> After reading this part I feel like a frequently updated index wont need a
> cache for performance, as its data will be changing so frequently that the
> entries on the old cache could be old.
>
> I have read the rest of the page too and I think I should disable caching
> for our case, but I cant be sure either if indexing could improve the
> performance or not...
>
> anyone have used caching with frequent updates? if so could you please give
> me some information about that?
>
>
>
> -----
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Frequently-Updated-Index-and-Caching-tp4003626.html
> Sent from the Solr - User mailing list archive at Nabble.com.