Trying to evaluate the performance of queries with and without cache
> On 18-Aug-2015, at 11:30 am, Yonik Seeley <ysee...@gmail.com> wrote: > > On Tue, Aug 18, 2015 at 12:23 PM, naga sharathrayapati > <sharathrayap...@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