# Aggregations of phrases

**URL:** <https://discuss.elastic.co/t/aggregations-of-phrases/22786>\
**Category:** Elasticsearch\
**Created:** [March 20, 2015, 9:34pm UTC](https://discuss.elastic.co/t/aggregations-of-phrases/22786 "2015-03-20T21:34:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkamiche](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bkamiche/32/14559_2.png) [@bkamiche](https://discuss.elastic.co/u/bkamiche)\
**Post date:** [March 20, 2015, 9:34pm UTC](https://discuss.elastic.co/t/aggregations-of-phrases/22786/1 "2015-03-20T21:34:58Z")

</div>

I have a field that contains text from different sources (it could be a  
facebook post, a twitter tweet, a blog article, etc), so it varies in  
length.

I need to find common phrases in that field to determine conversation  
subjects.

terms aggregations works fine for words, but I need to find phrases, i  
guess setting the field to "not\_indexed" is not the solution, as the whole  
text would be treated as a single item.

Is there anyway to accomplish this?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/aa3230f7-2cc2-4244-900a-c1c913002ebb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/aa3230f7-2cc2-4244-900a-c1c913002ebb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:25am UTC](https://discuss.elastic.co/t/aggregations-of-phrases/22786/2 "2017-07-06T00:25:17Z")

</div>


