Hi,

I know about the behaviour of the onlyMorePopular setting. It can return 
suggestions while the actual query is correctly spelled. There is, in my 
opinion, some bad behaviour, consider the following query that is correctly 
spelled and yields results and never suggestions:

q=test&spellcheck.onlyMorePopular=false
<bool name="correctlySpelled">true</bool>


q=test&spellcheck.onlyMorePopular=true
<bool name="correctlySpelled">false</bool>

Now, also consider the following scenario with onlyMorePopular enabled. Both 
term_a and term_b are correctly spelled and in the index.

&q=term_a
<bool name="correctlySpelled">true</bool>
<str name="collation">term_b</str>

&q=term_b
<bool name="correctlySpelled">false</bool>

The value of correctlySpelled can be very counter intuitive when 
onlyMorePopular is enabled, isn't it? File an issue or live with it?

Cheers,

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to