OpenSearch/docs/reference
Adrien Grand 4fa8f6f61f Doc values integration.
This commit allows for using Lucene doc values as a backend for field data,
moving the cost of building field data from the refresh operation to indexing.
In addition, Lucene doc values can be stored on disk (partially, or even
entirely), so that memory management is done at the operating system level
(file-system cache) instead of the JVM, avoiding long pauses during major
collections due to large heaps.

So far doc values are supported on numeric types and non-analyzed strings
(index:no or index:not_analyzed). Under the hood, it uses SORTED_SET doc values
which is the only type to support multi-valued fields. Since the field data API
set is a bit wider than the doc values API set, some operations are not
supported:
 - field data filtering: this will fail if doc values are enabled,
 - field data cache clearing, even for memory-based doc values formats,
 - getting the memory usage for a specific field,
 - knowing whether a field is actually multi-valued.

This commit also allows for configuring doc-values formats on a per-field basis
similarly to postings formats. In particular the doc values format of the
_version field can be configured through its own field mapper (it used to be
handled in UidFieldMapper previously).

Closes #3806
2013-10-09 16:34:30 +02:00
..
analysis [DOCS] Removed enable_position_increments in stop filter 2013-10-05 17:06:13 +02:00
cluster Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
docs Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
images add docs on new service.bat facility 2013-09-23 18:24:31 +03:00
index-modules Doc values integration. 2013-10-09 16:34:30 +02:00
indices [DOCS] Fixed a typo in indices.get_templates 2013-10-03 11:40:29 +02:00
mapping Doc values integration. 2013-10-09 16:34:30 +02:00
modules Remove extra 'processors' anchor in threadpool docs 2013-10-09 01:56:49 -06:00
query-dsl [DOCS] Added pages explaining lucene query parser syntax and regular expression syntax 2013-10-07 14:42:49 +02:00
search [DOCS] Added pages explaining lucene query parser syntax and regular expression syntax 2013-10-07 14:42:49 +02:00
setup Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
cluster.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
common-options.asciidoc [DOCS] Added the human flag 2013-09-04 23:20:55 +02:00
docs.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
index.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
indices.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
mapping.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
modules.asciidoc [DOCS] Removed outdated new/deprecated version notices 2013-09-03 21:28:31 +02:00
query-dsl.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
search.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
setup.asciidoc add docs on new service.bat facility 2013-09-23 18:24:31 +03:00