Skip to content

Centralize doc values checking#77089

Merged
nik9000 merged 1 commit intoelastic:masterfrom
nik9000:dedupe_time_zone_check
Sep 1, 2021
Merged

Centralize doc values checking#77089
nik9000 merged 1 commit intoelastic:masterfrom
nik9000:dedupe_time_zone_check

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Aug 31, 2021

This adds two utility methods for to validate the parameters to the
docValueFormat method and replaces a pile of copy and pasted code with
calls to them. They just emit a standard error message if the any
unsupported parameters are provided.

This adds two utility methods for to validate the parameters to the
`docValueFormat` method and replaces a pile of copy and pasted code with
calls to them. They just emit a standard error message if the any
unsupported parameters are provided.
@nik9000 nik9000 added >non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0 v7.16.0 labels Aug 31, 2021
@nik9000 nik9000 requested a review from ywelsch August 31, 2021 18:27
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Aug 31, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

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

Took a look at this coming from #76903, LGTM

Copy link
Copy Markdown
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM

@nik9000 nik9000 merged commit 429beba into elastic:master Sep 1, 2021
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Sep 1, 2021
This adds two utility methods for to validate the parameters to the
`docValueFormat` method and replaces a pile of copy and pasted code with
calls to them. They just emit a standard error message if the any
unsupported parameters are provided.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
7.x

elasticsearchmachine pushed a commit that referenced this pull request Sep 1, 2021
This adds two utility methods for to validate the parameters to the
`docValueFormat` method and replaces a pile of copy and pasted code with
calls to them. They just emit a standard error message if the any
unsupported parameters are provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Meta label for search team v7.16.0 v8.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants