Closed romainruaud closed 1 year ago
There are functional holes in the spellchecking / fuzzy query building.
termVectors query is run against 'spelling' field, so only against 'is_used_in_spellcheck' fields.
if no results, a fuzzy query is built on 'spelling', and on all 'is_used_in_spellcheck' fields (having a weight > 1).
=> can cause 0 results for a query that should have some (value can exist on a field which is not 'used_in_spellcheck').
any progress on this?
At some point, we also used "search" meta-field for term vectors : https://github.com/Smile-SA/elasticsuite/pull/532/commits/13fb6f91557d35b749df2fde1ebbd4089e0b35f3
There are functional holes in the spellchecking / fuzzy query building.
termVectors query is run against 'spelling' field, so only against 'is_used_in_spellcheck' fields.
if no results, a fuzzy query is built on 'spelling', and on all 'is_used_in_spellcheck' fields (having a weight > 1).
=> can cause 0 results for a query that should have some (value can exist on a field which is not 'used_in_spellcheck').