lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: qt.shards in solrconfig.xml
Date Fri, 27 Feb 2015 02:46:30 GMT
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.krupansky@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 <
> mkhludnev@griddynamics.com> wrote:
>
>> Hello,
>>
>> Giving
>>
>> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/%3C711DAAE5-C366-4349-B644-8E29E80E26BF@gmail.com%3E
>> you can add qt.shards into handler defaults/invariants.
>>
>> On Thu, Feb 26, 2015 at 5:40 PM, Benson Margulies <bimargulies@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>
>> <mkhludnev@griddynamics.com>
>>

Mime
View raw message