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 Avlesh Singh <av...@gmail.com> on 2009/09/01 04:02:25 UTC
Re: Is caching worth it when my whole index is in RAM?
Good question!
The application level cache, say filter cache, would still help because it
not only caches values but also the underlying computation. Even with all
the data in your RAM you will still end up doing the computations every
time.
Looking for responses from the more knowledgeable.
Cheers
Avlesh
On Mon, Aug 31, 2009 at 8:25 PM, Michael <so...@gmail.com> wrote:
> Hi,
> If I've got my entire 20G 4MM document index in RAM (on a ramdisk), do I
> have a need for the document cache? Or should I set it to 0 items, because
> pulling field values from an index in RAM is so fast that the document
> cache
> would be a duplication of effort?
>
> Are there any other caches that I should turn off if I can get my entire
> index in RAM? Filter cache, query results cache, etc?
>
> Thanks!
> Michael
>
Re: Is caching worth it when my whole index is in RAM?
Posted by Michael <so...@gmail.com>.
Thanks, Avlesh! I'll try the filter cache.
Anybody familiar enough with the caching implementation to chime in?
Michael
On Mon, Aug 31, 2009 at 10:02 PM, Avlesh Singh <av...@gmail.com> wrote:
> Good question!
> The application level cache, say filter cache, would still help because it
> not only caches values but also the underlying computation. Even with all
> the data in your RAM you will still end up doing the computations every
> time.
>
> Looking for responses from the more knowledgeable.
>
> Cheers
> Avlesh
>
> On Mon, Aug 31, 2009 at 8:25 PM, Michael <so...@gmail.com> wrote:
>
> > Hi,
> > If I've got my entire 20G 4MM document index in RAM (on a ramdisk), do I
> > have a need for the document cache? Or should I set it to 0 items,
> because
> > pulling field values from an index in RAM is so fast that the document
> > cache
> > would be a duplication of effort?
> >
> > Are there any other caches that I should turn off if I can get my entire
> > index in RAM? Filter cache, query results cache, etc?
> >
> > Thanks!
> > Michael
> >
>