Thanks David... I got the idea.
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web
Sorry, my question is how to pass 2 different Joda DateTime in
RangeFilter. I'm trying to get an aggregated search result from es for
every 5 min interval from current time till midnight to plot in graph.
One way I think is to convert the DateTime in millis and pass it as long in
Not sure I understand but this is working:
QueryBuilder qb = filteredQuery(
matchAllQuery(),
rangeFilter(dateOfBirth).from(DateTime.parse(1940)).to(DateTime.parse(1950))
);
from and to use JODA DateTime here.
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet
Is your question about how I create a JODA DateTime object?
Or how I pass it to the RangeFilter?
Sorry I did not get your question.
David
Le 23 janv. 2015 à 06:17, Subhadip Bagui i.ba...@gmail.com a écrit :
Hi,
Any ideas?
--
You received this message because you are subscribed to the
Hi,
I'm currently using the below code to get avg value for every 30min from
current time stamp. How can I pass 2 joda DateTime in this range filter to
query between those timestamp ? Please let me know
public static Double searchAvgResultCPU(String esIndex, String esType,
Hi,
Any ideas?
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit