Browse Source

Modifies the JavaAPI docs related to AggregationBuilder

1."AggregationBuilder" replaces "AggregatorBuilder" in docs/java-api/aggregations/bucket/iprange-aggregation.asciidoc
2."GeoBoundsAggregationBuilder" replaces "GeoBoundsBuilder" in docs/java-api/aggregations/metrics/geobounds-aggregation.asciidoc

Closes #28143
Combalgorythm 7 years ago
parent
commit
3c032f84f4

+ 2 - 2
docs/java-api/aggregations/bucket/iprange-aggregation.asciidoc

@@ -12,7 +12,7 @@ Here is an example on how to create the aggregation request:
 
 [source,java]
 --------------------------------------------------
-AggregatorBuilder<?> aggregation =
+AggregationBuilder<?> aggregation =
         AggregationBuilders
                 .ipRange("agg")
                 .field("ip")
@@ -25,7 +25,7 @@ Note that you could also use ip masks as ranges:
 
 [source,java]
 --------------------------------------------------
-AggregatorBuilder<?> aggregation =
+AggregationBuilder<?> aggregation =
         AggregationBuilders
                 .ipRange("agg")
                 .field("ip")

+ 1 - 1
docs/java-api/aggregations/metrics/geobounds-aggregation.asciidoc

@@ -12,7 +12,7 @@ Here is an example on how to create the aggregation request:
 
 [source,java]
 --------------------------------------------------
-GeoBoundsBuilder aggregation =
+GeoBoundsAggregationBuilder aggregation =
         GeoBoundsAggregationBuilder
                 .geoBounds("agg")
                 .field("address.location")