Incomplete
Details
Assignee
UnassignedUnassignedReporter
Olin BlodgettOlin BlodgettPriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Olin Blodgett
Olin BlodgettPriority
Created February 9, 2022 at 4:57 AM
Updated February 9, 2022 at 7:24 AM
Resolved February 9, 2022 at 7:24 AM
So in the case of:
.aggregation(aggkey, p -> {
return p.terms().field("search_field", String.class).maxTermCount(10);
})
How does one put in a list of fields. I would like to be able to pass in a list of fields to get aggregations for. Or if lets say List<String> aggregation_fields; is empty not call the .aggregation() at all. Maybe this is just an education issue? Please educate me.