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:
parent
e92acefba0
commit
3c032f84f4
|
@ -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")
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue