Hi, I want to build collations using suggestions of the query. But collations are building without using suggestions, they are using its own suggesters*(misspellingsAndCorrections)* and don't know from where these suggestions are coming.
You can see the result by seeing below response for the query *URL :* http://localhost:8983/solr/wikingram/spell?q=gram_ci:%22kuchi%20kucch%20hota%22&wt=json&indent=true&shards.qt=/spell&shards.tolerant=true&rows=1 You can see that "kuch" terms are not in both "kuchi and kucch" suggestions. But "kuch" is coming into misspellingsAndCorrections",[ "kuchi","kuch", "kucch","kuch", "hota","hota"]]]}} . How it is happening? *Response:* { "responseHeader":{ "status":0, "QTime":3440}, "response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[] }, "spellcheck":{ "suggestions":[ "kuchi",{ "numFound":5, "startOffset":9, "endOffset":14, "origFreq":40, "suggestion":[{ "word":"kochi", "freq":976}, { "word":"k chi", "freq":442}, { "word":"yuchi", "freq":71}, { "word":"kucha", "freq":32}, { "word":"kichi", "freq":17}]}, "kucch",{ "numFound":2, "startOffset":15, "endOffset":20, "origFreq":9, "suggestion":[{ "word":"kutch", "freq":231}, { "word":"kusch", "freq":67}]}, "correctlySpelled",false, "collation",[ "collationQuery","gram_ci:\"kuch kuch hota\"", "hits",22, "misspellingsAndCorrections",[ "kuchi","kuch", "kucch","kuch", "hota","hota"]]]}}