# Make significant term aggregation

**URL:** <https://discuss.elastic.co/t/make-significant-term-aggregation/68030>\
**Category:** Elasticsearch\
**Created:** [December 5, 2016, 11:40am UTC](https://discuss.elastic.co/t/make-significant-term-aggregation/68030 "2016-12-05T11:40:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geppo](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@geppo](https://discuss.elastic.co/u/geppo)\
**Post date:** [December 5, 2016, 11:40am UTC](https://discuss.elastic.co/t/make-significant-term-aggregation/68030/1 "2016-12-05T11:40:10Z")

</div>

HI,  
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

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 5, 2016, 12:49pm UTC](https://discuss.elastic.co/t/make-significant-term-aggregation/68030/2 "2016-12-05T12:49:34Z")

</div>

Hey,

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.

--Alex

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 2, 2017, 12:49pm UTC](https://discuss.elastic.co/t/make-significant-term-aggregation/68030/3 "2017-01-02T12:49:44Z")

</div>

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