lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Savrasov <osavra...@griddynamics.com>
Subject Re: qt.shards in solrconfig.xml
Date Fri, 27 Feb 2015 13:24:32 GMT
Hi Benson, Shalin,

One more thing that I noticed in your configuration is incorrect definition
of default Solr parameters. You should use <lst> tag, not <list>

Oleg

2015-02-27 6:23 GMT+03:00 Shalin Shekhar Mangar <shalinmangar@gmail.com>:

> 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 <bimargulies@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.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>
> > >>
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message