OpenSearch/docs
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
..
community [DOCS] Fix outdated link to wonderdog in community integration 2013-12-06 12:05:43 -07:00
groovy-api Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
java-api Dist. Percolation: Use .percolator instead of _percolator for type name 2013-11-05 20:02:59 +01:00
perl [Docs] Typo 2013-10-15 17:27:05 +02:00
python Fix misspellings. 2013-11-14 20:10:36 -05:00
reference 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
river [DOCS] Fixed typo 2013-10-05 17:10:30 +02:00
ruby [DOCS] Added a basic information about the official Ruby client to documentation 2013-11-04 11:46:36 +01:00