On Sonntag, 18. November 2007, flateric wrote:

> IndexReader ir = IndexReader.open(fsDir);
> ir.deleteDocuments(new Term("uid", uid));
> ir.close();
>
> Has absolutely no effect.

What number does ir.deleteDocuments return? If it's 0, the uid cannot be 
found. If it's > 0: note that you need to re-open your searcher/reader to 
see any changes to your index.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to