Hi everyone,
As I know that when we create a document, this document will be indexed asynchronously as mentioned here Documents API | Elastic App Search Documentation [7.15] | Elastic.
So when I create the document, it returns an id and I perform a search with id filter immediately, usually, it will return no result for this id.
However, when I get the document by id with that endpoint Documents API | Elastic App Search Documentation [7.15] | Elastic, it looks like that I can always get back the document by the newly created id. So is it correct, could I make use of it to overcome the not found result above?
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.