OpenSearch/docs/reference/migration
Jim Ferenczi 7b49beb9b0
Fix threshold frequency computation in Suggesters (#34312)
The `term` and `phrase` suggesters have different options to filter candidates
based on their frequencies. The `popular` mode for instance filters candidate
terms that occur in less docs than the original term. However when we compute this threshold
we use the total term frequency of a term instead of the document frequency. This is not inline
with the actual filtering which is always based on the document frequency. This change fixes
this discrepancy and clarifies the meaning of the different frequencies in use in the suggesters.
It also ensures that the threshold doesn't overflow the maximum allowed value (Integer.MAX_VALUE).

Closes #34282
2018-10-19 13:33:19 +02:00
..
apis [DOCS] Move migration APIs to docs (#31473) 2018-06-21 08:19:23 -07:00
migrate_7_0 Fix threshold frequency computation in Suggesters (#34312) 2018-10-19 13:33:19 +02:00
index.asciidoc [DOCS] Adds links to release notes and highlights 2018-06-15 11:04:11 -07:00
migrate_7_0.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
migration.asciidoc [DOCS] Move migration APIs to docs (#31473) 2018-06-21 08:19:23 -07:00