From 900019c85813396ae456bc6a96ad76dc9be7cfff Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 12 Aug 2021 08:43:32 -0400 Subject: [PATCH] [DOCS] Terms lookup doesn't support remote indices (#76371) (#76414) 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. --- docs/reference/query-dsl/terms-query.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/reference/query-dsl/terms-query.asciidoc b/docs/reference/query-dsl/terms-query.asciidoc index a39fa5c0b0fc1..3327f057f30f0 100644 --- a/docs/reference/query-dsl/terms-query.asciidoc +++ b/docs/reference/query-dsl/terms-query.asciidoc @@ -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 field must be enabled to use terms lookup. The `_source` -field is enabled by default. +To run a terms lookup, the field's <> 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