Lucene doc id in the fetch phase


(vince) #1

As we know, the doc id of a document in Lucene may change after reopening
the IndexReader.
In the fetch phase of ElasticSearch, the document content is got by lucene
doc id.
A wrong document may be returned to the client, if the IndexReader reopened
between query phase and fetch phase.
How this problem is sovled in ElasticSearhc?


(system) #2