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 <
tomasflo...@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 <federic...@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>
> >
>

Reply via email to