[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Disable All kind of caching in Solr/Lucene
From:       Yonik Seeley <yseeley () gmail ! com>
Date:       2017-03-31 18:17:44
Message-ID: CAB_8Yd86YJWQOKRY1GwTxOh+-T0QjkQymb7kwa=UFjNxjpM+Ug () mail ! gmail ! com
[Download RAW message or body]

On Fri, Mar 31, 2017 at 1:53 PM, Nilesh Kamani <nilesh.kamani@gmail.com> wrote:
> @Alexandre - Could you please point me to reference doc to remove default
> cache settings ?
>
> @Yonik - The code change is in Solr Indexer to sort the results.

OK, so to test indexing performance, there are no caches to worry
about (as long as you have autowarmCount=0 on all caches, as is the
case with the Solr example configs).

To test sorted query performance (I assume you're sorting the index to
accelerate certain sorted queries), if you can't make the queries
unique, then add
{!cache=false} to the query
example: q={!cache=false}*:*
You could also add a random term on a non-existent field to change the
query and prevent unwanted caching...
example: q=*:* does_not_exist_s:149475394

-Yonik
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic