-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Remove target value type from ValuesSourceAggregationBuilder #49943
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
not-napoleon
merged 38 commits into
elastic:feature/extensible-values-source
from
not-napoleon:refactor/remove-target-value-type
Jan 13, 2020
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a7a6fd6
Remove unused ValuesSource argument from LeafOnly aggregators
not-napoleon da1c0b4
Merge branch 'feature/extensible-values-source' into refactor/remove-…
not-napoleon a8abf8e
Merge branch 'feature/extensible-values-source' into refactor/remove-…
not-napoleon 166dfb7
Always use user supplied value type
not-napoleon 34d2aa8
rename and java doc for clarity
not-napoleon 1ed4f9c
Start using resolveScriptAny to fix failing tests
not-napoleon d469d31
Fix some more failing tests
not-napoleon 057d152
"Fix" terms aggregation test
not-napoleon b76e26a
Fix formatters for IPRange, broke boolean. Two steps forward, one st…
not-napoleon 9e446c4
ValueType.isA is nonsense
not-napoleon 02dae81
remove ValueType isA
not-napoleon b76e9f8
remove a bunch of dead code
not-napoleon 4587deb
Rename resolveScriptAny to reflect its new role
not-napoleon a580287
Remove uses of TVT from ValueCount
not-napoleon 75f3845
Remove uses of TVT from Terms family aggs
not-napoleon ec01f46
Remove uses of TVT from Cardinality
not-napoleon 0fd4f5e
Remove TVT from ValuesSourceAggregationBuilder
not-napoleon f93ce6b
Remove unused constructor args
not-napoleon 3a4a8dc
Renamed a few things in ValuesSourceConfig, for clarity
not-napoleon f848b5c
minor cleanups
not-napoleon a9b04c5
defaultValuesSourceType for ExtendedStats
not-napoleon 73a37e3
defaultValuesSourceType for Min
not-napoleon 05fee9f
defaultValuesSourceType for Stats
not-napoleon e0e532c
Fix NPE in RollupRequestTranslator
not-napoleon 40abc94
Fix more defaultValuesSourceTypes
not-napoleon 0c49609
Fix range aggs tests
not-napoleon e93b6b2
Fix range aggs, for real this time, I hope
not-napoleon 78563cd
The return of isA
not-napoleon c4c8a08
TODO notes for future me
not-napoleon 206b0ad
fix default type errors
not-napoleon 9e7a47b
Merge branch 'feature/extensible-values-source' into refactor/remove-…
not-napoleon bca57bb
fix default type for date histogram
not-napoleon 87f8fad
Fix type checking on percentile & percentile rank aggs
not-napoleon 7a5c96a
more default ValuesSourceType fixes
not-napoleon 02daaf9
Merge branch 'feature/extensible-values-source' into refactor/remove-…
not-napoleon 3626c31
Clean up useless use of ANY
not-napoleon f2d0942
minor cleanups
not-napoleon a459321
missed a spot for setting userValueTypeHint
not-napoleon 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
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.
I'm slightly surprised to not have found a method in this collection for creating a
RareTermsAggregationBuilder
, but there isn't one.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.
Undoubtedly just because I forgot :) I always forget this helper class, since we only use it for tests ourselves and I prefer to construct objects directly instead of with the helper... which leads me to forget it :/