Is there any way to only load the last 24 hours of indices? I am trying to
apply a query to only show the number of documents created over the last 24
hours (over the REST API), but I have not had too much luck.
A range filter on a date field with something like from now/d-1 to now/d+1 might work I think.
If you don’t have a date field (could be a _timestamp field if you activated it), I’m afraid you can’t do that.
Is there any way to only load the last 24 hours of indices? I am trying to apply a query to only show the number of documents created over the last 24 hours (over the REST API), but I have not had too much luck.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.