May be there is a way to do this but it doesn't make sense to return the same
search query as a suggestion (Search query is not a suggestion as it might
or might not be present in the index).

AFAIK you can use various look up algorithm to get the suggestion list and
they lookup the terms based on the query value (some alogrithm implements
fuzzy logic too). so searching Foo will return FooBar, Foo2 but not foo.

You should fetch the suggestion only if the numfound is greater than 0 else
you don't have any suggestion.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Suggester-how-to-return-exact-match-tp4102203p4102259.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to