Not able to perform filter on aggs results for array datatype

I am able to filter results of a bucket if the field is of text data type , but i am not perform the same on an array data type as it returns all the values.Ex [4,45,2,1] and if i am trying to filter 4 it returns [4,45,2,1].
Is there any issue with indexing or elastic search does not support a feature for arrays?

Found the solution , had to match it with prefix.
"aggs" : {

           "terms": {
             "field": "commodity_line.keyword",
               "include" : "3.*",
             "size": 10

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