Fuzzy Bucket Aggregation in Elasticsearch

Elasticsearch supports fuzzy search queries: https://www.elastic.co/guide/en/elasticsearch/guide/2.x/fuzzy-match-query.html

And bucket aggregation by time: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html

They say that "... buckets are dynamically built - one per unique value."

Is it possible to combine two functions and a bucket using fuzzy terms? so, for example, "America" ​​and "Amrica" ​​fall under one bucket? (using the "term" bucket they fall under 2 separate buckets, using the "fuzzy" search, both records are returned.

I'm trying to make group "keywords", including typos - maybe there is another way to do this? (brute force - run a "fuzzy" search for each "keyword" and manually add numbers ...)

+5
source share

All Articles