I have two indices:
I want to join them on MoveInDateTime <= Date_time <= MoveOutDateTime.
Is this possible in Elasticsearch? If not, what are some alternative approaches?
Thank you very much!
Welcome!
I don't think you can do that. Even the new LOOKUP JOIN of ES|QL won't help with that.
LOOKUP JOIN
An alternative approach would be by programmatically run:
IndexA
indexB
My 2 cents
© 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.