mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
The `_index` field is now a completely virtual field thanks to #12027. It is no longer necessary to index the actual value of the index name. closes #12329
7 lines
271 B
Text
7 lines
271 B
Text
[[mapping-index-field]]
|
|
=== `_index`
|
|
|
|
When performing queries across multiple indexes, it is sometimes desirable
|
|
to add query clauses that are associated with documents of only certain
|
|
indexes. The `_index` field allows matching on the index a document was
|
|
indexed into.
|