GET test_index/_search
{
"query": {
"bool": {
"must": [
{
"range": {
"timestamp": {
"gte": "now-1d/d",
"lte": "now"
}
}
}
]
}
}
}
I'am now able to understand what does query means.What does now-1d/d means and now/d means
GET test_index/_search
{
"query": {
"bool": {
"must": [
{
"range": {
"timestamp": {
"gte": "now-1d/d",
"lte": "now"
}
}
}
]
}
}
}
I'am now able to understand what does query means.What does now-1d/d means and now/d means
Does https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-range-query.html#range-query-date-math-rounding explain it?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.