You need to set the "spellcheck.maxCollationTries" parameter to a value greater than zero. The higher the value, the more queries it checks for hits, and the longer it could potentially take.
See https://cwiki.apache.org/confluence/display/solr/Spell+Checking#SpellChecking-Thespellcheck.maxCollationTriesParameter James Dyer Ingram Content Group -----Original Message----- From: SRINI SOLR [mailto:srini.s...@gmail.com] Sent: Friday, July 22, 2016 12:05 PM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3.1 - Spell-Checker with MULTI-WORD PHRASE Hi all - please help me here.... On Thursday, July 21, 2016, SRINI SOLR <srini.s...@gmail.com> wrote: > Hi All - > Could you please help me on spell check on multi-word phrase as a whole... > Scenario - > I have a problem with solr spellcheck suggestions for multi word phrases. With the query for 'red chillies' > > q=red+chillies&wt=xml&indent=true&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true > > I get > > <lst name="suggestions"> > <lst name="chillies"> > <int name="numFound">2</int> > <int name="startOffset">4</int> > <int name="endOffset">12</int> > <int name="origFreq">0</int> > <arr name="suggestion"> > <lst><str name="word">chiller</str><int name="freq">4</int></lst> > <lst><str name="word">challis</str><int name="freq">2</int></lst> > </arr> > </lst> > <bool name="correctlySpelled">false</bool> > <str name="collation">red chiller</str> > </lst> > > The problem is, even though 'chiller' has 4 results in index, 'red chiller' has none. So we end up suggesting a phrase with 0 result. > > What can I do to make spellcheck work on the whole phrase only? > > Please help me here ...