Skip to content

Commit 5eaa8da

Browse files
committed
update documentation pointing to aggs vs aggregations which no longer is a section because the property no longer exists
1 parent 01ca010 commit 5eaa8da

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

src/Tests/Aggregations/Bucket/DateHistogram/DateHistogramAggregationUsageTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ public DateHistogramAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage
110110
protected override void ExpectResponse(ISearchResponse<Project> response)
111111
{
112112
/** === Handling responses
113-
* Using the `.Aggs` aggregation helper on `ISearchResponse<T>`, we can fetch our aggregation results easily
114-
* in the correct type. <<aggs-vs-aggregations, Be sure to read more about .Aggs vs .Aggregations>>
113+
* The `AggregateDictionary found on `.Aggregations` on `ISearchResponse<T>` has several helper methods
114+
* so we can fetch our aggregation results easily in the correct type.
115+
* <<handling-aggregate-response, Be sure to read more about these helper methods>>
115116
*/
116117
response.ShouldBeValid();
117118

src/Tests/Aggregations/Bucket/DateRange/DateRangeAggregationUsageTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ public DateRangeAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) :
7777
protected override void ExpectResponse(ISearchResponse<Project> response)
7878
{
7979
/** === Handling Responses
80-
* Using the `.Agg` aggregation helper we can fetch our aggregation results easily
81-
* in the correct type. <<aggs-vs-aggregations, Be sure to read more about .Aggs vs .Aggregations>>
80+
* The `AggregateDictionary found on `.Aggregations` on `ISearchResponse<T>` has several helper methods
81+
* so we can fetch our aggregation results easily in the correct type.
82+
* <<handling-aggregate-response, Be sure to read more about these helper methods>>
8283
*/
8384
response.ShouldBeValid();
8485

src/Tests/Aggregations/Bucket/Filter/FilterAggregationUsageTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ public FilterAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : bas
6060
protected override void ExpectResponse(ISearchResponse<Project> response)
6161
{
6262
/** === Handling Responses
63-
* Using the `.Aggs` aggregation helper we can fetch our aggregation results easily
64-
* in the correct type. <<aggs-vs-aggregations, Be sure to read more about .Aggs vs .Aggregations>>
63+
* The `AggregateDictionary found on `.Aggregations` on `ISearchResponse<T>` has several helper methods
64+
* so we can fetch our aggregation results easily in the correct type.
65+
* <<handling-aggregate-response, Be sure to read more about these helper methods>>
6566
*/
6667
response.ShouldBeValid();
6768

src/Tests/Aggregations/Bucket/Filters/FiltersAggregationUsageTests.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ public FiltersAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : ba
8181
protected override void ExpectResponse(ISearchResponse<Project> response)
8282
{
8383
/** ==== Handling Responses
84-
* Using the `.Agg` aggregation helper we can fetch our aggregation results easily
85-
* in the correct type. <<aggs-vs-aggregations, Be sure to read more about .Aggs vs .Aggregations>>
84+
* The `AggregateDictionary found on `.Aggregations` on `ISearchResponse<T>` has several helper methods
85+
* so we can fetch our aggregation results easily in the correct type.
86+
* <<handling-aggregate-response, Be sure to read more about these helper methods>>
8687
*/
8788
response.ShouldBeValid();
8889

@@ -165,8 +166,9 @@ public AnonymousFiltersUsage(ReadOnlyCluster i, EndpointUsage usage) : base(i, u
165166
protected override void ExpectResponse(ISearchResponse<Project> response)
166167
{
167168
/** ==== Handling Responses
168-
* Using the `.Agg` aggregation helper we can fetch our aggregation results easily
169-
* in the correct type. <<aggs-vs-aggregations, Be sure to read more about .Aggs vs .Aggregations>>
169+
* The `AggregateDictionary found on `.Aggregations` on `ISearchResponse<T>` has several helper methods
170+
* so we can fetch our aggregation results easily in the correct type.
171+
* <<handling-aggregate-response, Be sure to read more about these helper methods>>
170172
*/
171173
response.ShouldBeValid();
172174

src/Tests/Aggregations/WritingAggregations.doc.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ protected override Func<SearchDescriptor<Project>, ISearchRequest> Fluent
250250
}
251251

252252

253-
//todo own documentation file (aggregation responses?)
254253
/**[float]
255254
* [[Aggregate]]
256255
*=== Handling aggregate response

0 commit comments

Comments
 (0)