How to only get the highest score of a token graphs multiple sub-queries

Hello,

For example, is indexed "european union" with an hunspell english filter.

The filter generates the following tokens

  • token: european / position: 0
  • token: union / position: 1
  • token: ion / position: 1

If I do a phrase match on "european union", it will then match "european union" and "european ion" , the score will be the double.

Is there the possibility to only get the maximum?

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.