lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rosen Marinov" <ros...@sirma.bg>
Subject Delete document don't work
Date Sun, 10 Nov 2002 12:32:57 GMT
Hello,

I have the problem with deleting documents from index.

please see the my java code, i have in my index document
with field "ID" and value "12345", but this code don't
delete the document from my index.

Please tell me possible reason?

I haven't other opening readers, writers or searches on this index.

10x
--------------------------- Java Code ----------------------


IndexReader reader = IndexReader.open( path );

Term term = new Term("ID", "12345");

reader.delete(term);

reader.close();

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message