OpenSearch/docs/reference/index-modules
Adrien Grand 4e7ce4ee02 Make field data changes immediately taken into account and add the ability to disallow field data loading.
This commit changes field data configuration updates so that they are
immediately taken into account for loading new segments. The way it works
is that field data configuration is now cached separately from the field
data cache, meaning that it is now possible to clear the field data
configuration from IndexFieldDataService while the cache will stay around. On
the next time that Elasticsearch will reload field data configuration, it will
check if there is already a cache entry, and reuse it if it exists.

To disable field data loading, all that is required is to change the field
data format to "none" (supported by all field data types) using the update
mapping API. Elasticsearch will then refuse to load field data on any new
segment, but field data which has been loaded on the previous segments will
remain available. So you need to clear the field data cache in order to
reclaim memory (otherwise memory will be reclaimed slower, as segments get
merged).

Close #4430
Close #4431
2013-12-16 14:34:33 +01:00
..
allocation.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
analysis.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
cache.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
codec.asciidoc Add clear warnings that only the default codec, postings format and doc values format have backward compatibility warranties. 2013-10-10 13:30:08 +02:00
fielddata.asciidoc Make field data changes immediately taken into account and add the ability to disallow field data loading. 2013-12-16 14:34:33 +01:00
mapper.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
merge.asciidoc [DOCS] Added compound_on_flush docs and updated compound_format 2013-10-15 13:30:56 +02:00
similarity.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
slowlog.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
store.asciidoc [DOCS] Update store docs to indicate mmapfs is now the default on 64-bit Linux 2013-11-09 11:42:43 -07:00
translog.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00