Skip to content

Allow doc-values only search on date types#82602

Merged
ywelsch merged 2 commits intoelastic:masterfrom
ywelsch:date-doc-values-search
Jan 17, 2022
Merged

Allow doc-values only search on date types#82602
ywelsch merged 2 commits intoelastic:masterfrom
ywelsch:date-doc-values-search

Conversation

@ywelsch
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch commented Jan 14, 2022

Similar to #82409, but for date fields.

Allows searching on date field types (date, date_nanos) when those fields are not indexed (index: false) but just doc values are enabled.

This enables searches on archive data, which has access to doc values but not index structures. When combined with searchable snapshots, it allows downloading only data for a given (doc value) field to quickly filter down to a select set of documents.

Relates #81210 and #52728

@ywelsch ywelsch added :Search/Search Search-related issues that do not fall into other categories >enhancement v8.1.0 labels Jan 14, 2022
@ywelsch ywelsch marked this pull request as ready for review January 14, 2022 10:13
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jan 14, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@ywelsch ywelsch requested a review from javanna January 14, 2022 10:13
@ywelsch ywelsch mentioned this pull request Jan 14, 2022
32 tasks
Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ywelsch ywelsch merged commit 928c09a into elastic:master Jan 17, 2022
@ywelsch
Copy link
Copy Markdown
Contributor Author

ywelsch commented Jan 17, 2022

Thanks @javanna!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement release highlight :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants