Files
elasticsearch-js/docs/reference/api/QueryDslTokenPruningConfig.md
2025-05-27 15:30:21 -05:00

554 B

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.