Jeeppp
Jeeppp

Reputation: 1573

Specify Solr request handler in query

I have created a new request handler in Solr name mySearch, in the older versions of Solr I can use the default select request and specify the custom request handler using the "qt" parameter. But in Solr 6.0 that doesn't seem to work.

Is there a way I can invoke the new request handler using a query param instead of solr/mySearch?

Upvotes: 1

Views: 573

Answers (1)

Alexandre Rafalovitch
Alexandre Rafalovitch

Reputation: 9789

In Solr 6, this is controlled by the parameter handleSelect which needs to be set to true and the solrconfig.xml should not have select handler (it does in all examples).

Once you fulfill both conditions, you should be able to get your old behavior to work.

Upvotes: 1

Related Questions