Shamik,

Are you using a request handler other than "/select", and if so, did you set 
"shards.qt" in your request?  It should be set to the name of the request 
handler you are using.

See http://wiki.apache.org/solr/SpellCheckComponent?#Distributed_Search_Support

James Dyer
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: Shamik Bandopadhyay [mailto:sham...@gmail.com] 
Sent: Monday, October 07, 2013 4:47 PM
To: solr-user@lucene.apache.org
Subject: How to achieve distributed spelling check in SolrCloud ?

Hi,

  We are in the process of transitioning to SolrCloud (4.4) from
Master-Slave architecture (4.2) . One of the issues I'm facing now is with
making spell check work. It only seems to work if I explicitly set
distrib=false. I'm using a custom request handler and included the spell
check option.

<str name="spellcheck">on</str>
   <str name="spellcheck.collate">true</str>
   <str name="spellcheck.onlyMorePopular">false</str>
   <str name="spellcheck.extendedResults">false</str>
   <str name="spellcheck.count">1</str>
   <str name="spellcheck.dictionary">default</str>
  </lst>
  <!-- append spellchecking to our list of components -->
  <arr name="last-components">
   <str>spellcheck</str>
  </arr>

The spellcheck component has the usual configuration.

The spell check is part of the request handler which is being used to
executed a distributed query.. I can't possibly add distrib=false.

Just wondering if there's a way to address this.

Any pointers will be appreciated.

-Thanks,
Shamik

Reply via email to