Skip to content

Conversation

Mpdreamz
Copy link
Member

Support for the top_hits aggregation

gmarz and others added 3 commits September 4, 2014 17:24
TODO: Still need to implement a top hits response object and handle
deserialization in the AggregationConverter class.
…rch/elasticsearch-net into feature/aggregations-top-hits

Conflicts:
	src/Nest/DSL/Aggregations/AggregationDescriptor.cs
	src/Nest/Nest.csproj
	src/Tests/Nest.Tests.Integration/Aggregations/MetricAggregationTests.cs
@Mpdreamz
Copy link
Member Author

I had to change the Score property on Hit to be nullable, wonder if we should treat this as BWC issue @gmarz ?

https://github.com/elasticsearch/elasticsearch-net/compare/feature/aggregations-top-hits?expand=1#diff-4faac0789ef28bae3582f6b8e8f0cd28R15

@gmarz
Copy link
Contributor

gmarz commented Sep 11, 2014

Arghh, as much as I think we'd be able to get away with it- it's a breaking change. Other than that, this LGTM.

@Mpdreamz
Copy link
Member Author

Ok updated without changing the Score property to double? 👍

@gmarz
Copy link
Contributor

gmarz commented Sep 15, 2014

LGTM 👍

gmarz added a commit that referenced this pull request Sep 15, 2014
@gmarz gmarz merged commit 2cc649c into develop Sep 15, 2014
@gmarz gmarz deleted the feature/aggregations-top-hits branch September 15, 2014 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants