lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cam Bazz" <>
Subject IndexReader.isDeleted
Date Mon, 15 Sep 2008 18:42:49 GMT

I would like to get advantage of isDeleted. If I delete a document
from index, and not commit, and index searcher is not reinstantiated,
how can I check if a document is marked for deletion? I tried it with
both commit() and without committing, the isDeleted(mydeleteddocid)
returns always false.

if the indexsearcher is refreshed, then it is deleted.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message