OpenSearch/docs/reference/migration
Ryan Ernst 97d2657e18 Remove script access to term statistics (#19462)
In scripts (at least some of the languages), the terms dictionary and
postings can be access with the special _index variable. This is for
very advanced use cases which want to do their own scoring. The problem
is segment level statistics must be recomputed for every document.
Additionally, this is not friendly to the terms index caching as the
order of looking up terms should be controlled by lucene.

This change removes _index from scripts. Anyone using it can and should
instead write a Similarity plugin, which is explicitly designed to allow
doing the calculations needed for a relevance score.

closes #19359
2017-05-16 09:10:09 -07:00
..
migrate_6_0 Remove script access to term statistics (#19462) 2017-05-16 09:10:09 -07:00
index.asciidoc Remove collect payloads parameter 2016-09-08 09:37:36 -04:00
migrate_6_0.asciidoc Remove customization of ES_USER and ES_GROUP 2017-04-14 13:24:21 -06:00