Hi OS Team,
is it possible to change the default behaviour of ES? I want to aggregate over a string field but this is not possible with current settings:
Fielddata is disabled on text fields by default. Set fielddata=true on [str_XXX_XXX]
Another question which is quite interesting.. for your internal search you already do such an aggregation: --> i can get buckets for each value of this string field (but limited to ten like mentioned in another question) Would be quite interesting which ES API Call (especially the body) you trigger if your internal search-service is invoked...
Many Thx & Rgds Martin
Hi Martin,
it’s not necessary. You can use our Query for aggregations too. For instance,
{
"aggs": { "customer.name": { }, "customer.city": { } }
}
Best regards Irina
381 questions
506 answers
416 comments
191 users