I want to retrieve top N-suggestions of a word from Solr. I need most relevant suggestions of a word.
Example :
Suppose if I type "peace" then order of suggestions will be in - piece, perce, place etc.
Right now the configuration ofschema.xml and solrconfig.xml
. I get the suggestions of peace sorted by frequency where piece word is coming too far (at 11th position) in suggestions list. I need that word to come in top 5 suggestions. How can I do this?