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 ...