Nishanth
Nishanth

Reputation: 81

Disable queryResultCache for a single Solr query

Disclaimer: I'm a Solr newbie so I apologize in advance if this sounds lame.

I'm trying to optimize Solr queries running on an instance which has queryResultCache turned on. Caching restricts my ability to experiment with queries and analyze how much time each variation of the query takes.

  1. I'm querying Solr via curl.

  2. Disabling queryResultCache on this instance or acquiring a different instance is not an option.

Any help or ideas are welcome.

  1. I tried this approach and passed cache=false as a curl parameter to the Solr query.

  2. I don't believe it worked since query time was 26926 the first time and then its averaging ~ 152.

Upvotes: 1

Views: 134

Answers (0)

Related Questions