Hello!
I wonder if there’s something like an aggregation for multiple combined values within the Hibernate Search 6 API. To me it looks like the API only supports one single field (or multiple different unconnected fields).
Is the following Example possible with the new aggregation or composite APIs? A quick NO would also be accepted, as this use case with a group by seems to belong more to SQL-Like queries and not a search database
(stupid) Example:
{ name: "Hans", title: "Dr.", value: 1}
{ name: "Hansi", title: "Dr.", value: 1}
{ name: "Franz", title: "none", value: 2}
I would want to query by aggregated by value and title combinded with a result that reads as follows:
{ title: "Dr.", value: 1, count: 2, name: ["Hans", "Hansi"] }
{ title: "none", value: 2, count: 1, name: ["Franz"] }