Posted on 08/08/2023 14:07:18
Nope, I am affraid not.
It is a 'term suggestion' so it will return the nearest possible terms in the index - and not from the search result. A limitation of what we can do with Lucene.
When you have multiple languages this can be a real problem - that can be solved by having one index for each language. That can be setup relatively easy in Settings.
But with all kind of other suggestions, your cannot do anything different. The only solution would be to first get the term suggestions and then for each of them make a search by adding an expression to your full query using each term and search to see if it will return something, and then only include terms that yields results. But that would be slow...
BR Nicolai