Relative Content

Tag Archive for javaopensearch

opensearch-java nested aggregations

Trying to use the opensearch-java client to perform aggregations on nested documents. We have an index of projects, and each document has a nested palette document, and we want to count all the primary color choices, in order to get an idea of how popular each one is on each project. The json of a successful query looks something like this