Usecase is as following:
1. Get indexReader via indexWriter.
2. Delete documents by Term via indexWriter.
3. Commit indexWriter.
4. indexReader.isCurrent() returns true.
Usually there is a check if index reader is current. If not then it is reopened (re-obtained via writer or ect.). But this causes the problem when documents can still be found through the search after deletion.
Testcase is attached.
|Assignee||Michael McCandless [ mikemccand ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.9.4 [ 12315148 ]|
|Fix Version/s||3.0.3 [ 12315147 ]|
|Fix Version/s||3.1 [ 12314822 ]|
|Fix Version/s||4.0 [ 12314025 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Workflow||jira [ 12519946 ]||Default workflow, editable Closed status [ 12563671 ]|
|Workflow||Default workflow, editable Closed status [ 12563671 ]||jira [ 12585238 ]|