You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Zheng Lin Edwin Yeo <ed...@gmail.com> on 2019/01/14 07:22:58 UTC
Spellcheck not returning output array for single character
Hi,
I am using Solr 7.5.0, and I have found that when we call the spellcheck
handler with a single character search (Eg:
http://localhost:8983/solr/collection1/spell?q=6), the output array like
the below is not shown.
"spellcheck":{
"suggestions":[],
"correctlySpelled":true,
"collations":[]}}
However, if the search is for two or more characters (Eg:
http://localhost:8983/solr/collection1/spell?q=66), then it will show.
What could be the reason behind this?
I have set the minQueryLength to be 4 in the solrconfig.xml.
Regards,
Edwin