Skip to content

Commit

Permalink
[DOCS] Terms lookup doesn't support remote indices (#76371)
Browse files Browse the repository at this point in the history
Changes:
* Notes that you can't use cross-cluster search to run a terms lookup on a remote index.
* Removes a redundant sentence noting `_source` is enabled by default.

Closes #61364.
  • Loading branch information
jrodewig authored Aug 12, 2021
1 parent f1e1492 commit 8eaf404
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/reference/query-dsl/terms-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ Terms lookup fetches the field values of an existing document. {es} then uses
those values as search terms. This can be helpful when searching for a large set
of terms.

Because terms lookup fetches values from a document, the <<mapping-source-field,
`_source`>> mapping field must be enabled to use terms lookup. The `_source`
field is enabled by default.
To run a terms lookup, the field's <<mapping-source-field,`_source`>> must be
enabled. You cannot use {ccs} to run a terms lookup on a remote index.

[NOTE]
By default, {es} limits the `terms` query to a maximum of 65,536
Expand Down

0 comments on commit 8eaf404

Please sign in to comment.