Elasticsearch similarity discount_overlaps

Viewed 381

I'm using Elasticsearch 5.3.1 and I'm evaluating BM25 and Classic TF/IDF. I came across the discount_overlaps property which is optional.

Determines whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm. By default this is true, meaning overlap tokens do not count when computing norms.

Can someone explain what the above means with an example if possible.

1 Answers
Related