Are you trying to filter by a duration by comparing start and end times within a document? If so, maybe updating those documents using update by query and then executing a fast query would work as well?
A very slow alternative could a script_query to filter out documents with a duration or a script_field to display such, if that is what you are after.
Hello, the idea is to perform the same SQL query but in the ES conversion. where 'period' is the field that contains the number of days to calculate. So my question is how can I set the fields within it, that is, evaluate the field of the same document in a Range query.
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.