Is it possible to change the default value of max_expansions?

(Bernt Rostad) #1

Match Phrase Prefix queries has an optional parameter max_expansions which controls how many suffixes the last term will be expanded to. The problem is that the default value of 50 is not high enough for us to match all the terms we need to, and we would like to change this default value to avoid having to set it for each prefix-query.

Is there an option in the Elasitcsearch configuration or the index mapping we can set to override the default value of max_expansions?

(system) #2

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