Elastic Search : how to search data before a particular date

hello folks,

Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

hello folks,
how can we search and data before a given date. for
example how can i retrieve data before 1 aug 2012.
I used range query but failed to retrieve data. please help me.

Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

depending on particular use case range filter [1] might be a better option.

Regards,
Lukas

[1] http://www.elasticsearch.org/guide/reference/query-dsl/range-filter.html

On Thu, Feb 21, 2013 at 8:44 PM, Mohit Kumar Yadav <
mohit.kumar.ngi@gmail.com> wrote:

hello folks,
how can we search and data before a given date. for
example how can i retrieve data before 1 aug 2012.
I used range query but failed to retrieve data. please help me.

Mohit Kumar Yadav

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.