-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add a format
option to docvalue_fields
.
#29639
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
b25ccfc
Add a `format` option to `docvalue_fields`.
jpountz c62e5bc
iter
jpountz 3e373e1
iter
jpountz 9991b80
iter
jpountz 46ba35e
iter
jpountz ad7130c
Merge branch 'master' into feature/doc_value_format
jpountz b2d3de8
iter
jpountz ae28857
Make the format an optional constructor arg.
jpountz a177292
Merge branch 'master' into feature/doc_value_format
jpountz b38cde6
Fix docs of the `_ignored` meta field.
jpountz c422c36
Post backport of #29658.
jpountz 9080853
Merge branch 'master' into feature/doc_value_format
jpountz 886bae6
iter
jpountz 88374e1
Fix changelog.
jpountz b228a29
Merge branch 'master' into feature/doc_value_format
jpountz 677c75d
iter
jpountz 99e2718
iter
jpountz a5932de
Merge branch 'master' into feature/doc_value_format
jpountz 20c863c
Merge branch 'master' into feature/doc_value_format
jpountz 1b74854
iter
jpountz 0098d6c
Merge branch 'master' into feature/doc_value_format
jpountz 710a420
iter
jpountz d106a26
iter
jpountz defe800
Merge branch 'master' into feature/doc_value_format
jpountz 0ec669b
Merge branch 'master' into feature/doc_value_format
jpountz 92a3b2d
Make SQL happy.
jpountz 73b9472
Merge branch 'master' into feature/doc_value_format
jpountz 2acd722
Fix docs.
jpountz 4294d1d
Merge branch 'master' into feature/doc_value_format
jpountz ff2df6a
Merge branch 'master' into feature/doc_value_format
jpountz 2e33fb5
iter
jpountz 99a0249
iter
jpountz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we not make the
format
field optional and indicate to use the field mapping by the option not being present? This would be in line with other places we supportformat
such as in the date range query and date range aggregationThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the goal. The issue is that if we do this in 6.4 this will be a breaking change. For instance today date fields are returned as the output of Joda's ReadableInstant#toString(). I plan to make using the format from mappings the default in a follow-up PR that will only target 7.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok great, thanks for clarifying