How to maintain the JSON sequence in the response from Elastic, currently ordering is getting changed to what was inserted.
The best thing to do is to rely on a field.
So I'd add a timestamp or an id and then sort on that value.
How to maintain the JSON sequence in the response from Elastic, currently ordering is getting changed to what was inserted.
The best thing to do is to rely on a field.
So I'd add a timestamp or an id and then sort on that value.
© 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.