Cutoff_frequency option changes cross_fields behaviour


(Alexander Koval) #1

Without cutoff_frequency cross_fields multi match uses DisjunctionMaxQuery:

But if there is cutoff_frequency it suddenly uses BooleanQuery. Also tie_breaker option is ignored in this case:

This behaviour is not obvious and documentation doesn't point that.

Why Elasticsearch doesn't use DisjunctionMaxQuery in BlendedTermQuery.commonTermsBlendedQuery?


(system) #2