I'm trying to do a search of aggregated field values.
My basic user story (I use the Java API):
… and 5 more member fields that should be indexed but are irrelevant
for this story
We have 10K entities of type A with various values indexed.
Now the user wants to search for organizations by matching the string
“micro” to field organization (field query). He does not care about
entities of type A, he only wants an ordered list or strings,
representing the relevant values submitted in the organization field
for the matched entities.
For example, he might expect as result such as:
“Micro – Tech”
How do I do that with elastic search? I read the site and didn't find
Another story is when the user is still searching for organization
values, but is using a field query on another field in type A.