elastic/elasticsearch-java

Adjacency matrix aggregation is missing 'separator' field

rand0m86 opened this issue · 2 comments

Java API client version

8.9.0

Java version

17

Elasticsearch Version

8.9.0

Problem description

Currently, it is not possible to set 'separator' field while creating adjacency matrix aggregation. Ideally it should be set via Builder class, the same way as filters:

new AdjacencyMatrixAggregation.Builder()
    .filters(myFilters)
    .separator(" hello ")

@swallez, @Anaethelion please check this one.

Hello, thanks for the report and sorry for the delay. Yes the field is missing from the API specification used to produce the Java code, we'll add it there and then regenerate the code to solve this.