Here is the delete and associated code:
reader = IndexReader.open(database);
Term t = new Term("reference",reference); try { reader.delete(t); } catch (Exception e) { System.out.println("Delete exception;"+e); }
except it isn't working. I tried to do a commt and a doCommit, but those are both protected. I do a reader.close() after processing the batch the first time.
What am I missing? I don't get an exception. Reference is definitely a valid field, 'cause I print out the value at search time and compare to the doc and they are identical.
Thanks, Jim.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]