lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Lamas" <>
Subject How do I obtain the document id in order to delete from index?
Date Mon, 30 Oct 2006 10:39:39 GMT
I've been reading Lucene documentation and I see there are two ways of deleting a document
from an index: by id and by term.

Supose I have an index with three fields: field1, field2 and field3, and I want to delete
all documents with field1=value1 and field2=value2.
I think I must use deletion by Id, but I don't know how to obtain the Id of the documents
I want to delete.

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