Make significant term aggregation

I'm trying to make a significant terms aggregation with kibana tools. I would like to use a field with term vector , but I can't because my field is not aggregatable. In my mapping I have defined my field in this way:
"vectterms" :{
"type": "text",
"store": true,
"term_vector": "with_positions_offsets_payloads",
"analyzer": "termvectrix",
"similarity": "BM25",
"fielddata": true

Which is my error? Does it exists any rule to make a field aggregatable?
Thanks in advice


can you paste an example request and an example response, so others can see hwat happens. Also paste exceptions when they happen in the elasticsearch console.


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