Re: solr distributed search don't work
explicit enum 1 10 192.168.1.6/solr/,192.168.1.7/solr/ 2011/8/19 Li Li > could you please show me your configuration in solrconfig.xml? > > On Fri, Aug 19, 2011 at 5:31 PM, olivier sallou > 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 > > > >> 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. > >> > > >
Re: solr distributed search don't work
could you please show me your configuration in solrconfig.xml? On Fri, Aug 19, 2011 at 5:31 PM, olivier sallou 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 > >> 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. >> >
Re: solr distributed search don't work
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 > 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. >
solr distributed search don't work
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.