OpenSearch/docs/reference
Martijn van Groningen 1cfb6a79f1 Parent/child: refactored _parent field mapper and parent/child queries
* Cut the `has_child` and `has_parent` queries over to use Lucene's query time global ordinal join. The main benefit of this change is that parent/child queries can now efficiently execute if parent/child queries are wrapped in a bigger boolean query. If the rest of the query only hit a few documents both has_child and has_parent queries don't need to evaluate all parent or child documents any more.
* Cut the `_parent` field over to use doc values. This significantly reduces the on heap memory footprint of parent/child, because the parent id values are never loaded into memory.

Breaking changes:
* The `type` option on the `_parent` field can only point to a parent type that doesn't exist yet, so this means that an existing type/mapping can't become a parent type any longer.
* The `has_child` and `has_parent` queries can no longer be use in alias filters.

All these changes, improvements and breaks in compatibility only apply for indices created with ES version 2.0 or higher. For indices creates with ES <= 2.0 the older implementation is used.

It is highly recommended to re-index all your indices with parent and child documents to benefit from all the improvements that come with this refactoring. The easiest way to achieve this is by using the scan and bulk apis using a simple script.

Closes #6107
Closes #8134
2015-05-29 21:44:17 +02:00
..
aggregations Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
analysis spell correct and add single quotes 2015-05-26 11:41:19 +02:00
cat Removed `id_cache` from stats and cat apis. 2015-05-15 14:06:18 +02:00
cluster Removed `id_cache` from stats and cat apis. 2015-05-15 14:06:18 +02:00
docs Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
images Docs: Fix misplaced images in moving_avg docs 2015-05-27 16:13:36 -04:00
index-modules Docs: More translog doc improvements 2015-05-05 22:01:58 +02:00
indices Merge remote-tracking branch 'boaz/index_seal_to_flush_sync' 2015-05-29 10:31:03 +02:00
mapping Parent/child: refactored _parent field mapper and parent/child queries 2015-05-29 21:44:17 +02:00
migration Parent/child: refactored _parent field mapper and parent/child queries 2015-05-29 21:44:17 +02:00
modules Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
query-dsl Parent/child: refactored _parent field mapper and parent/child queries 2015-05-29 21:44:17 +02:00
search This commit removes the ability to use `filter` for PhraseSuggester collate. 2015-05-29 12:26:08 -04:00
setup Merge remote-tracking branch 'boaz/index_seal_to_flush_sync' 2015-05-29 10:31:03 +02:00
testing [DOCS] added instructions on how to write parameterized tests 2015-03-19 12:43:51 +01:00
aggregations.asciidoc Scripting: Unify script and template requests across codebase 2015-05-29 16:52:04 +01:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
api-conventions.asciidoc API: Add response filtering with filter_path parameter 2015-05-26 13:51:04 +02:00
cat.asciidoc Cat API: Add wildcard support for header names 2015-05-27 16:09:31 +02:00
cluster.asciidoc Remove `_shutdown` API 2015-04-27 17:19:36 +02:00
docs.asciidoc Bulk UDP: Removal. 2014-09-11 09:52:09 +02:00
getting-started.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc Docs: Updated the experimental annotations in the docs as follows: 2015-04-26 18:49:15 +02:00
index.asciidoc Docs: Added stub entries for pages deleted from 1.x 2015-05-24 17:57:34 +02:00
indices.asciidoc [doc] remove reference to seal, was removed in #11336 2015-05-29 11:40:34 +02:00
mapping.asciidoc Mappings: Remove file based default mappings 2015-04-30 13:50:35 -07:00
modules.asciidoc Remove references to the thrift and memcached transport plugins 2015-03-19 20:49:58 +01:00
query-dsl.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
redirects.asciidoc Docs: Move the page on facets into redirects.asciidoc 2015-05-24 23:34:23 +02:00
search.asciidoc [Docs] Fix minor spelling errors 2015-05-25 19:56:43 +02:00
setup.asciidoc Docs: Added stub entries for pages deleted from 1.x 2015-05-24 17:57:34 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00