Last Updated: February 25, 2016
·
1.316K
· alukanin

Benchmark Solr with a query log in Solrmeter

To process a query log with queries to different handlers you can add qt=/spell (or other handlers) to your queries. In this case however you have to modify your solrconfig.xml:

  1. set handleSelect=true
  2. rename /select handler to something else (e.g. /query)

As you have to rename /select handler, you should add qt=/query to all your usual queries in your query log.

It's very inconvenient, but it works. Strange, but if I send requests directly via SolrJ, I don't have to modify my solrconfig.xml and the query log.