Re: query cache result

2011-09-30 Thread Tomás Fernández Löbbe
I just read this response, sorry. I think this is not possible OOTB On Sat, Aug 20, 2011 at 4:30 PM, jame vaalet jamevaa...@gmail.com wrote: thanks tomas .. can we set querywindowsize of particular query through url ? say, i want only a particular set of query's result to be cached and not

Re: query cache result

2011-08-20 Thread jame vaalet
thanks tomas .. can we set querywindowsize of particular query through url ? say, i want only a particular set of query's result to be cached and not other queries . is it possible to control this query cache results and window size for each query separately ? 2011/8/19 Tomás Fernández Löbbe

query cache result

2011-08-19 Thread jame vaalet
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

Re: query cache result

2011-08-19 Thread Tomás Fernández Löbbe
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

Re: query cache result

2011-08-19 Thread jame vaalet
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

Re: query cache result

2011-08-19 Thread Tomás Fernández Löbbe
From my understanding, seeing the cache as a set of key-value pairs, this cache has the query as key and the list of IDs resulting from the query as values. When the exact same query is issued, it will be found as key in this cache, and Solr will already have the list of IDs that match it. If you