lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagasharath <sharathrayap...@gmail.com>
Subject Re: Cache
Date Thu, 20 Aug 2015 00:00:28 GMT
Trying to evaluate the performance of queries with and without cache



> On 18-Aug-2015, at 11:30 am, Yonik Seeley <yseeley@gmail.com> wrote:
> 
> On Tue, Aug 18, 2015 at 12:23 PM, naga sharathrayapati
> <sharathrayapati@gmail.com> wrote:
>> Is it possible to clear the cache through query?
>> 
>> I need this for performance valuation.
> 
> No, but you can prevent a query from being cached:
> q={!cache=false}my query
> 
> What are you trying to test the performance of exactly?
> If you think queries will be highly unique, the best way of testing is
> to make your test queries highly unique (for example, adding a random
> number in the mix) so that the hit rate on the query cache won't be
> unrealistically high.
> 
> -Yonik

Mime
View raw message