lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Méndez <federic...@gmail.com>
Subject Re: TermsComponent/SolrCloud
Date Thu, 22 Nov 2012 11:18:30 GMT
Thanks Tomas, your suggestion worked!!

<requestHandler name="/terms" class="solr.SearchHandler" startup="lazy">
     <lst name="defaults">
      <bool name="terms">true</bool>
      <bool name="distrib">true</bool>
      <str name="shards.qt">/terms</str>
    </lst>
    <arr name="components">
      <str>terms</str>
    </arr>
  </requestHandler>


On Thu, Nov 22, 2012 at 11:59 AM, Tomás Fernández Löbbe <
tomasflobbe@gmail.com> wrote:

> Hi Federico, it should work. Make sure you set the "shards.qt" parameter
> too (in your case, it should be shards.qt=/terms)
>
>
> On Thu, Nov 22, 2012 at 6:51 AM, Federico Méndez <federicomh@gmail.com
> >wrote:
>
> > Anyone knows if the TermsComponent supports distributed search trough a
> > SolrCloud installation? I have a SolrCloud installation that works OK for
> > regular searches but TermsComponent is returning empty results when
> using:
> > [collectionName]/terms?terms.fl=collector_name&terms.prefix=jo, the
> request
> > handler configuration is:
> > <!-- A request handler for demonstrating the terms component -->
> >   <requestHandler name="/terms" class="solr.SearchHandler"
> startup="lazy">
> >      <lst name="defaults">
> >       <bool name="terms">true</bool>
> >       <bool name="distrib">true</bool>
> >     </lst>
> >     <arr name="components">
> >       <str>terms</str>
> >     </arr>
> >   </requestHandler>
> >
>

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