I will go with {!cache=false}.

Can we specify facet method in json nested faceting query? 




> On 19-Aug-2015, at 7:07 pm, Yonik Seeley <ysee...@gmail.com> wrote:
> 
>> On Wed, Aug 19, 2015 at 8:00 PM, Nagasharath <sharathrayap...@gmail.com> 
>> wrote:
>> Trying to evaluate the performance of queries with and without cache
> 
> Yeah, so to try and see how much a specific type of query costs, you can use
> {!cache=false}
> 
> But I've seen some people trying to benchmark the performance of the
> *system* with caching disabled, and that's not really a valid way to
> go about it.
> 
> -Yonik
> 
> 
> 
>>> 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

Reply via email to