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
This commit is contained in:
Combalgorythm 2018-01-11 12:59:30 +01:00 committed by Daniel Mitterdorfer
parent e92acefba0
commit 3c032f84f4
2 changed files with 3 additions and 3 deletions

View File

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

View File

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