I am currently running a Solr client / server pair that is working fine.
However, in some cases, the filter request (parameter fq
) that is sent to Solr is quite large (it can be thousands of characters) and cannot be shortened. Since parsing the request takes only part of the total time , I want to experiment with this part of the request and send it to Solr.
I was thinking about changing the client, so instead of fq
it uses a different parameter (e.g. zfq
). Then Solr can decide - if he gets zfq
, he uses it and decodes the data in fq
. Otherwise, he should behave as usual.
What is the standard way to achieve the above? It looks like there is SearchHandler
, requestHandler
, <queryParser
(both in solrconfig.xml), and many others, and I'm not quite sure what is the least intrusive. I'm pretty sure about Lucene / Tomcat, but don't know much about Solr data structures.
source share