lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olivier sallou <olivier.sal...@gmail.com>
Subject Re: solr distributed search don't work
Date Thu, 01 Sep 2011 08:01:24 GMT
   <requestHandler name="MYREQUESTHANDLER" class="solr.SearchHandler">
    <!-- default values for query parameters -->
     <lst name="defaults">
       <str name="echoParams">explicit</str>
       <str name="facet.method">enum</str>
       <str name="facet.mincount">1</str>
       <str name="facet.limit">10</str>
      <str name="shards">192.168.1.6/solr/,192.168.1.7/solr/</str>
     </lst>
  </requestHandler>

2011/8/19 Li Li <fancyerii@gmail.com>

> could you please show me your configuration in solrconfig.xml?
>
> On Fri, Aug 19, 2011 at 5:31 PM, olivier sallou
> <olivier.sallou@gmail.com> wrote:
> > Hi,
> > I do not use spell but I use distributed search, using qt=spell is
> correct,
> > should not use qt=\spell.
> > For "shards", I specify it in solrconfig directly, not in url, but should
> > work the same.
> > Maybe an issue in your spell request handler.
> >
> >
> > 2011/8/19 Li Li <fancyerii@gmail.com>
> >
> >> hi all,
> >>     I follow the wiki http://wiki.apache.org/solr/SpellCheckComponent
> >> but there is something wrong.
> >>     the url given my the wiki is
> >>
> >>
> http://solr:8983/solr/select?q=*:*&spellcheck=true&spellcheck.build=true&spellcheck.q=toyata&qt=spell&shards.qt=spell&shards=solr-shard1:8983/solr,solr-shard2:8983/solr
> >>     but it does not work. I trace the codes and find that
> >> qt=spell&shards.qt=spell should be qt=/spell&shards.qt=/spell
> >>     After modification of url, It return all documents but nothing
> >> about spell check.
> >>     I debug it and find the
> >> AbstractLuceneSpellChecker.getSuggestions() is called.
> >>
> >
>

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