# Words frequency from a set of tweets within a range of dates

**URL:** <https://discuss.elastic.co/t/words-frequency-from-a-set-of-tweets-within-a-range-of-dates/18192>\
**Category:** Elasticsearch\
**Created:** [June 18, 2014, 6:48pm UTC](https://discuss.elastic.co/t/words-frequency-from-a-set-of-tweets-within-a-range-of-dates/18192 "2014-06-18T18:48:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Argenis\_Leon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/argenis_leon/32/1479_2.png) [@Argenis\_Leon](https://discuss.elastic.co/u/Argenis_Leon)\
**Post date:** [June 18, 2014, 6:48pm UTC](https://discuss.elastic.co/t/words-frequency-from-a-set-of-tweets-within-a-range-of-dates/18192/1 "2014-06-18T18:48:57Z")

</div>

Hi,What is the best way to calculate words frequency from a set of tweets  
within a range of dates?. I am seeing termvector as solution but I am not  
sure how to set the range dates. Any help?

--  
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/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [June 18, 2014, 10:46pm UTC](https://discuss.elastic.co/t/words-frequency-from-a-set-of-tweets-within-a-range-of-dates/18192/2 "2014-06-18T22:46:44Z")

</div>

Execute a range query

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

then you can access term statistics from scripting

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Jörg

On Wed, Jun 18, 2014 at 8:48 PM, Argenis Leon [argenisleon@gmail.com](mailto:argenisleon@gmail.com) wrote:

> Hi,What is the best way to calculate words frequency from a set of tweets  
> within a range of dates?. I am seeing termvector as solution but I am not  
> sure how to set the range dates. Any help?
> 
> --  
> 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/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0cc0a743-71a4-4642-8ee0-459f5596d31b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAKdsXoGUdHuq09D2\_HKfPKY%2BYhBZ8UTKwrvncQ5MG9\_rmXdz6w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGUdHuq09D2_HKfPKY%2BYhBZ8UTKwrvncQ5MG9_rmXdz6w%40mail.gmail.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, 1:21am UTC](https://discuss.elastic.co/t/words-frequency-from-a-set-of-tweets-within-a-range-of-dates/18192/3 "2017-07-06T01:21:25Z")

</div>

Closed on July 6, 2017, 1:21am UTC


