I'm having a problem with reindexing.
I have an index called emails, after reindexing, I can get/post documents to this index normally.
But for new documents, I cannot get these when search by property or show them in a query with sort.
please refrain from using screenshots, but use code snippets. This forum has excellent markdown support for code snippets. Thank you!
First, have you refresh/flushed the index?
Second, what does GET emails/_search return? Doucments from that index?
Third, what is the mapping for the order_time field?
Fourth, which Elasticsearch version is this?
Fifth, what does the Explain API return for your query and the document. you would like to match?
Your order_id field is an analyzed text field, which it probably was not before. Try searching in the order_id.keyword field instead. Is it possible, that you have not copied the mapping before reindexing?
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.