Skip to content

Commit 3c032f8

Browse files
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
1 parent e92acef commit 3c032f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Here is an example on how to create the aggregation request:
1212

1313
[source,java]
1414
--------------------------------------------------
15-
AggregatorBuilder<?> aggregation =
15+
AggregationBuilder<?> aggregation =
1616
AggregationBuilders
1717
.ipRange("agg")
1818
.field("ip")
@@ -25,7 +25,7 @@ Note that you could also use ip masks as ranges:
2525

2626
[source,java]
2727
--------------------------------------------------
28-
AggregatorBuilder<?> aggregation =
28+
AggregationBuilder<?> aggregation =
2929
AggregationBuilders
3030
.ipRange("agg")
3131
.field("ip")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Here is an example on how to create the aggregation request:
1212

1313
[source,java]
1414
--------------------------------------------------
15-
GeoBoundsBuilder aggregation =
15+
GeoBoundsAggregationBuilder aggregation =
1616
GeoBoundsAggregationBuilder
1717
.geoBounds("agg")
1818
.field("address.location")

0 commit comments

Comments
 (0)