-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add additional sort options for Top Hits aggregation #2913
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
Comments
russcam
added a commit
that referenced
this issue
Dec 19, 2017
Top Hits Aggregation fluent lambda syntax constrains sort options to field sorting, even though ITopHitsAggregation can accept any implementation of ISort. This commit deprecates the current fluent Sort implementation in favour of an implementation that allow multiple sort options besides field sorting, and assigns the resulting collection of sort options to IList<ISort>. Update TopHitsAggregation usage test to call the new Sort method. Fixes #2913
russcam
added a commit
that referenced
this issue
Dec 21, 2017
* Add additional sort options to Top Hits Aggregation Top Hits Aggregation fluent lambda syntax constrains sort options to field sorting, even though ITopHitsAggregation can accept any implementation of ISort. This commit deprecates the current fluent Sort implementation in favour of an implementation that allow multiple sort options besides field sorting, and assigns the resulting collection of sort options to IList<ISort>. Update TopHitsAggregation usage test to call the new Sort method. Fixes #2913 * Remove superfluous using directive
russcam
added a commit
that referenced
this issue
Dec 21, 2017
* Add additional sort options to Top Hits Aggregation Top Hits Aggregation fluent lambda syntax constrains sort options to field sorting, even though ITopHitsAggregation can accept any implementation of ISort. This commit deprecates the current fluent Sort implementation in favour of an implementation that allow multiple sort options besides field sorting, and assigns the resulting collection of sort options to IList<ISort>. Update TopHitsAggregation usage test to call the new Sort method. Fixes #2913
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Stack Overflow
Top Hits aggregation sort is missing several sort options, including script sorting.
The text was updated successfully, but these errors were encountered: