As shown in the figure,I first add a document, and then call the id query to find this data, but I still can't query with the query QSL, so querying a new document will not refresh?
I tried to update a document, update the level from DEBUG8 to DEBUG9, and then use the id query to find this document, but I still can't find this document using the query DSL.
So does the id query not trigger refresh?
DELETE test
PUT test
{
"settings": {
"refresh_interval": "-1"
}
}
PUT test/_doc/1
{
"foo": "bar"
}
GET test/_search
GET test/_doc/1
GET test/_search
POST test/_refresh
GET test/_search
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.