Mike, you are right. I used StringField, but id_to_delete has a typo and
thus a mismatch.
Still good to confirm the understanding is correct.
Thanks for your helps.
On Thu, Oct 17, 2013 at 3:54 AM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> Your understanding is correct, and afte
Your understanding is correct, and after reopen you should see the
document deleted, so I'm not sure offhand why you aren't.
BTW it's w.deleteDocuments not w.removeDocuments.
And you don't need to commit in order to see changes in the reopened
NRT reader (this is the whole point: commit is very c
Hello,
I am quite confused about the Lucene NRT feature. And there are not many
examples out there.
My understanding is we can create an DirectoryReader from a IndexWriter.
Whenever IndexWriter changes the index, we can use DirectoryReader to
detect the changes and recreate DirectoryReader if nec