Skip to content

Commit

Permalink
Added reference to terms_set query in regular terms query documentati…
Browse files Browse the repository at this point in the history
…on (#91204) (#91466)

* Added reference to terms_set query in regular terms query documentation

* Update docs/reference/query-dsl/terms-query.asciidoc

Co-authored-by: Abdon Pijpelink <[email protected]>

Co-authored-by: Abdon Pijpelink <[email protected]>

Co-authored-by: Etki <[email protected]>
  • Loading branch information
abdonpijpelink and etki authored Nov 9, 2022
1 parent 51fe478 commit 784d892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/reference/mapping/params/eager-global-ordinals.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ The global ordinal mapping must be built before ordinals can be used during a
search. By default, the mapping is loaded during search on the first time that
global ordinals are needed. This is the right approach if you are optimizing
for indexing speed, but if search performance is a priority, it's recommended
to eagerly load global ordinals eagerly on fields that will be used in
aggregations:
to eagerly load global ordinals on fields that will be used in aggregations:

[source,console]
------------
Expand Down
4 changes: 3 additions & 1 deletion docs/reference/query-dsl/terms-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
Returns documents that contain one or more *exact* terms in a provided field.

The `terms` query is the same as the <<query-dsl-term-query, `term` query>>,
except you can search for multiple values.
except you can search for multiple values. A document will match if it contains
at least one of the terms. To search for documents that contain more than one
matching term, use the <<query-dsl-terms-set-query, `terms_set` query>>.

[[terms-query-ex-request]]
==== Example request
Expand Down

0 comments on commit 784d892

Please sign in to comment.