Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
Hallo Daniel; the number returned by delete is 0, but the "uid" shows up in Luke so it is there. I close the reader after every delete and then re-open it for the next delete (see my code snippets below). Eric Daniel Naber-10 wrote: > > On Sonntag, 18. November 2007

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
Hallo Daniel; thank you for your quick reply. The "uid" field exists (UN_TOKENIZED and stored). The IndexWriter is also closed while I'm using the IndexReader to delete. Thanks, Eric Daniel Naber-10 wrote: > > On Sonntag, 18. November 2007, flateric wrote: > >&g

RE: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
lucene.index.Term) statistic, though this will be > corrected eventually as the index is further modified." > > Hope this helps. > > Regards, > kapilChhabra > > > -Original Message- > From: flateric [mailto:[EMAIL PROTECTED] > Sent: Monday, Novembe

neither IndexWriter nor IndexReader would delete documents

2007-11-18 Thread flateric
Hallo *; I went through some examples of the Lucene in Action book to find that the API has changed and then applied the corrections with the help of this forum. One runtime problem however remains. I cannot delete any documents. I store documents like this: IndexWriter iw = new IndexWriter(