Hi,
I am trying to delete a document from Lucene index using:
Term aTerm = new Term( uid, path );
aReader.delete( aTerm );
aReader.close();
If the variable path=xxx/foo.txt then I am able to delete the document.
However, if path variable has - in the string, the delete method
Erik,
I am using the keyword field
doc.add(Field.Keyword(uid, pathRelToArea));
anything else I can check on ?
thanks
atul
PS we worked together for Darden project
From: Erik Hatcher [EMAIL PROTECTED]
Date: 2005/01/27 Thu PM 07:46:40 EST
To: Lucene Users List