1-3 are really answered by the same explanation:
When you open a searcher, lucene "knows" what all the closed segments
are (i.e., the last commit point). And you can't commit when only part
of a document has been written to the current segment. You can think
of commits as atomic at the document le
Hi
1. as I understand Lucene is preparing the documents of the search result in a
lazy fashion- using the docId in the ScoreDoc. What happens if the document
"pointed" by the ScoreDoc is deleted meanwhile i.e. the DocId is not relevant
(maybe assigned to a different document) ?
2. when a docu