Re: neither IndexWriter nor IndexReader would delete documents

2007-11-20 Thread Daniel Naber
On Montag, 19. November 2007, flateric wrote: > the number returned by delete is 0, but the "uid" shows up in Luke so it > is there. Not sure what the problem might be, but it can surely be analyzed if you write a small self-contained test-case and post it here. Regards Daniel -- http://www.

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
MAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/neither-IndexWriter-nor-IndexReader-would-delete-documents-tf4832123.html#a13844914 Sent from the Lucene - Java Users mailing list archive at Nabble

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread Erick Erickson
Also, are you re-opening the reader underlying your *searcher* before you query and still get the deleted docs? Also, look with Luke to see if the specific uid you *think* you've deleted is really gone. Best Erick On Nov 19, 2007 6:42 AM, Daniel Naber <[EMAIL PROTECTED]> wrote: > On Sonntag, 18

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread Daniel Naber
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

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
ommands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/neither-IndexWriter-nor-IndexReader-would-delete-documents-tf4832123.html#a13833734 Sent from the Lucene - Java Users mailing list archive at Nabble.com. -

RE: neither IndexWriter nor IndexReader would delete documents

2007-11-19 Thread flateric
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ----------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additio

RE: neither IndexWriter nor IndexReader would delete documents

2007-11-18 Thread Chhabra, Kapil
odified." Hope this helps. Regards, kapilChhabra -Original Message- From: flateric [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 3:46 AM To: java-user@lucene.apache.org Subject: neither IndexWriter nor IndexReader would delete documents Hallo *; I went through some ex

Re: neither IndexWriter nor IndexReader would delete documents

2007-11-18 Thread Daniel Naber
On Sonntag, 18. November 2007, flateric wrote: > Has absolutely no effect. I also tried delete on the IndexWriter - no > effect. Please use the tool Luke to have a look inside your index to see if a document with field "uid" and the uid you're expecting really exists. The field should be UN_TOK

neither IndexWriter nor IndexReader would delete documents

2007-11-18 Thread flateric
where to investigate any further! Thx Eric -- View this message in context: http://www.nabble.com/neither-IndexWriter-nor-IndexReader-would-delete-documents-tf4832123.html#a13824599 Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---