Files
elasticsearch-js/docs/reference/api/QueryDslTokenPruningConfig.md
2025-05-28 10:02:30 -05:00

582 B

QueryDslTokenPruningConfig [interface-QueryDslTokenPruningConfig]

Name Type Description
only_score_pruned_tokens boolean Whether to only score pruned tokens, vs only scoring kept tokens.
tokens_freq_ratio_threshold integer Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned.
tokens_weight_threshold float Tokens whose weight is less than this threshold are considered nonsignificant and pruned.