diff --git a/docs/reference/query-dsl/text-expansion-query.asciidoc b/docs/reference/query-dsl/text-expansion-query.asciidoc index cb0a7c6ea9c0..ca7792d648ab 100644 --- a/docs/reference/query-dsl/text-expansion-query.asciidoc +++ b/docs/reference/query-dsl/text-expansion-query.asciidoc @@ -245,7 +245,7 @@ GET my-index/_search "pruning_config": { "tokens_freq_ratio_threshold": 5, "tokens_weight_threshold": 0.4, - "only_score_pruned_tokens": false + "only_score_pruned_tokens": true } } }