I forget to say that my Field is not Keyword
it is UnIndexed field and i want to know
how can i delete document from index with
this UnUndexed field?
----- Original Message -----
From: "Rosen Marinov" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Sunday, November 10, 2002 2:32 PM
Subject: Delete document don't work
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();
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@;jakarta.apache.org>