lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Cache
Date Tue, 18 Aug 2015 16:30:18 GMT
On Tue, Aug 18, 2015 at 12:23 PM, naga sharathrayapati
<> 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.


View raw message