Execute a range query

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-range-query.html#query-dsl-range-query

then you can access term statistics from scripting

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-advanced-scripting.html

Jörg


On Wed, Jun 18, 2014 at 8:48 PM, Argenis Leon <[email protected]> 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 [email protected].
> 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?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGUdHuq09D2_HKfPKY%2BYhBZ8UTKwrvncQ5MG9_rmXdz6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to