Regexp for integer aggregation


#1
  1. How to do this for integer?
  2. This example for string from documentation (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html), and it is contain error:

{
"aggs" : {
"tags" : {
"terms" : {
"field" : "tags",
"include" : ".sport.",
"exclude" : "water_.*"
}
}
}
}

Must be "tags.keyword" or illegal_argument_exception will thrown.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.