Hi Benson, Do not use shards.qt with a leading '/'. See https://issues.apache.org/jira/browse/SOLR-3161 for details. Also note that shards.qt will not be necessary with 5.1 and beyond because of SOLR-6311
On Fri, Feb 27, 2015 at 8:16 AM, Benson Margulies <bimargul...@gmail.com> wrote: > I apparently am feeling dense; the following does not worl. > > <requestHandler name="/RNI" class="solr.SearchHandler" default="false"> > <list name="defaults"> > <str name="shards.qt">/RNI</str> > </list> > <arr name="components"> > <str>name-indexing-query</str> > <str>name-indexing-rescore</str> > <str>facet</str> > <str>mlt</str> > <str>highlight</str> > <str>stats</str> > <str>debug</str> > </arr> > </requestHandler> > > > On Thu, Feb 26, 2015 at 11:33 AM, Jack Krupansky > <jack.krupan...@gmail.com> wrote: > > I was hoping that Benson was hinting at adding a qt.shards.auto=true > > parameter to so that would magically use on the path from the incoming > > request - and that this would be the default, since that's what most > people > > would expect. > > > > Or, maybe just add a commented-out custom handler that has the qt.shards > > parameter as suggested, to re-emphasize to people that if they want to > use > > a custom handler in distributed mode, then they will most likely need > this > > parameter. > > > > -- Jack Krupansky > > > > On Thu, Feb 26, 2015 at 11:28 AM, Mikhail Khludnev < > > mkhlud...@griddynamics.com> wrote: > > > >> Hello, > >> > >> Giving > >> > >> > http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/%3c711daae5-c366-4349-b644-8e29e80e2...@gmail.com%3E > >> you can add qt.shards into handler defaults/invariants. > >> > >> On Thu, Feb 26, 2015 at 5:40 PM, Benson Margulies < > bimargul...@gmail.com> > >> wrote: > >> > >> > A query I posted yesterday amounted to me forgetting that I have to > >> > set qt.shards when I use a URL other than plain old '/select' with > >> > SolrCloud. Is there any way to configure a query handler to automate > >> > this, so that all queries addressed to '/RNI' get that added in? > >> > > >> > >> > >> > >> -- > >> Sincerely yours > >> Mikhail Khludnev > >> Principal Engineer, > >> Grid Dynamics > >> > >> <http://www.griddynamics.com> > >> <mkhlud...@griddynamics.com> > >> > -- Regards, Shalin Shekhar Mangar.