wiki says *"size

The maximum number of entries in the cache."
andqueryResultCache

This cache stores ordered sets of document IDs — the top N results of a
query ordered by some criteria.
*

doesn't it mean number of document ids rather than number of queries ?





2011/8/19 Tomás Fernández Löbbe <tomasflo...@gmail.com>

> Hi Jame, the size for the queryResultCache is the number of queries that
> will fit into this cache. AutowarmCount is the number of queries that are
> going to be copyed from the old cache to the new cache when a commit
> occurrs
> (actually, the queries are going to be executed again agains the new
> IndexSearcher, as the results for them may have changed on the new Index).
> initial size is the initial size of the array, it will start to grow from
> that size up to "size". You may want to see this page of the wiki:
> http://wiki.apache.org/solr/SolrCaching
>
> Regards,
>
> Tomás
> On Fri, Aug 19, 2011 at 8:39 AM, jame vaalet <jamevaa...@gmail.com> wrote:
>
> > hi,
> > i understand that queryResultCache tag in solrconfig is the one which
> > determines the cache size of SOLR in jvm.
> >
> > <queryResultCache class="*solr.LRUCache*"
> > size="*${queryResultCacheSize:0}*"initialSize
> > ="*${queryResultCacheInitialSize:0}*" autowarmCount="*
> > ${queryResultCacheRows:0}*" />
> >
> >
> > out of the different attributes what is size? Is it the amount of memory
> > reserved in bytes ? or number of doc ids cached ? or is it the number of
> > queries it will cache?
> >
> > similarly wat is initial size and autowarm depicted in?
> >
> > can some please reply ...
> >
>



-- 

-JAME

Reply via email to