OpenSearch/docs/reference/migration/migrate_6_0
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
..
aggregations.asciidoc Remove support for the include/pattern syntax. (#23141) 2017-03-01 10:00:38 +01:00
cat.asciidoc Remove 5.x references from cat API migration doc 2016-11-09 07:09:59 -05:00
cluster.asciidoc No longer allow cluster name in data path 2016-09-12 15:47:01 -06:00
docs.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
indices.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
ingest.asciidoc Change type of ingest doc meta-data field 'TIMESTAMP' to `Date` (#22234) 2016-12-19 09:10:58 +01:00
java.asciidoc Compound order for histogram aggregations. (#22343) 2017-05-11 18:06:26 +01:00
mappings.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
packaging.asciidoc Remove customization of ES_USER and ES_GROUP 2017-04-14 13:24:21 -06:00
percolator.asciidoc percolator: remove deprecated percolate and mpercolate apis 2017-01-10 11:18:27 +01:00
plugins.asciidoc S3 Repository: Remove deprecated settings (#24445) 2017-05-10 20:12:17 -07:00
rest.asciidoc Identify documents by their `_id`. (#24460) 2017-05-09 16:33:52 +02:00
scripting.asciidoc Remove script access to term statistics (#19462) 2017-05-16 09:10:09 -07:00
search.asciidoc Removed deprecated template query. 2017-05-11 14:56:45 +02:00
settings.asciidoc Docs: Add migration note about .yaml and .json removal (#24689) 2017-05-15 13:42:28 -07:00
stats.asciidoc Simplify file store 2017-05-04 11:19:41 -04:00