lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Pfingsthorn" <>
Subject deleting on a keyword field
Date Fri, 03 Jun 2005 16:50:12 GMT

I'm trying to delete a document from the index. Somehow it doesn't work. I made a Field.Keyword
out of my document's URI and would now like to delete a document with a certain uri like so:

reader.delete(new Term(URI_FIELD, uri));

This does not remove anything. Do I have to make the uri a normal field?

Thanks for your help in advance!

Best regards,

Max Pfingsthorn


Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
------------------------------------------------------------- /

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

View raw message