Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exists query also works with only doc_values #103647

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

danielmitterdorfer
Copy link
Member

With this commit we amend the docs for the exists query to clarify that it works with either index or doc_values set to true in the mapping. Only if both are disabled, the exists query won't work.

With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
@danielmitterdorfer danielmitterdorfer added >docs General docs changes :Search/Search Search-related issues that do not fall into other categories auto-backport-and-merge v8.12.0 v8.13.0 v8.11.4 labels Dec 21, 2023
Copy link
Contributor

Documentation preview:

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team Team:Search Meta label for search team labels Dec 21, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@danielmitterdorfer danielmitterdorfer merged commit 26115fc into elastic:main Dec 21, 2023
7 checks passed
@danielmitterdorfer danielmitterdorfer deleted the doc-exists branch December 21, 2023 15:33
danielmitterdorfer added a commit to danielmitterdorfer/elasticsearch that referenced this pull request Dec 21, 2023
With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.12
8.11

danielmitterdorfer added a commit to danielmitterdorfer/elasticsearch that referenced this pull request Dec 21, 2023
With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
elasticsearchmachine pushed a commit that referenced this pull request Dec 21, 2023
With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
elasticsearchmachine pushed a commit that referenced this pull request Dec 21, 2023
With this commit we amend the docs for the `exists` query to clarify
that it works with either `index` *or* `doc_values` set to `true` in the
mapping. Only if both are disabled, the `exists` query won't work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories Team:Docs Meta label for docs team Team:Search Meta label for search team v8.11.4 v8.12.0 v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants