qt query param is not working when handleSelect on the requestDispatcher config is not set · Issue #242 · lbdremy/solr-node-client · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Java implementation SolrJ you can set the request handler with the qt param even when handleSelect on the requestDispatcher config is not set, in this library it is not working, qt param doesn't work.
I propose to also implement this by changing this part of the solr.js
Client.prototype.search = function (query, callback) { return this.get(this.SELECT_HANDLER, query, callback);};
The hardcoded value ("select") should be replaced by the qt param (if it is set). Another solution would be to add a new query param besides qt called something like requestHandler, so you can change the request handler here dynamically.
In the Java implementation SolrJ you can set the request handler with the qt param even when handleSelect on the requestDispatcher config is not set, in this library it is not working, qt param doesn't work.
I propose to also implement this by changing this part of the solr.js
Client.prototype.search = function (query, callback) { return this.get(this.SELECT_HANDLER, query, callback);};
The hardcoded value ("select") should be replaced by the qt param (if it is set). Another solution would be to add a new query param besides qt called something like requestHandler, so you can change the request handler here dynamically.
https://cwiki.apache.org/confluence/display/solr/SolrRequestHandler#SolrRequestHandler-OldhandleSelect=trueResolution(qtparam)
The text was updated successfully, but these errors were encountered: