Apply fuzzy match only on short search arguments?

I'm having a problem getting the “too complex to determinize” exception. The index is running a synonym graph filter. The problem happens when I send a longish query which 1) includes several words that have synonyms, and 2) requests fuzzy matching on search suggestions.

It would be great to have a direct fix for this, but in the absence of that, being able to only fuzzy match on short-to-medium search arguments would help a lot. Can I tell Elastic to disable fuzzy matching if (say) the search argument has more than three tokens, or do I have to process the arguments before feeding them to Elastic?

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