Re: Unexpected returning false from IndexWriter.tryDeleteDocument

2013-12-21 Thread Michael McCandless
OK I see; so deleting by Term or Query is a no go. I suppose, the "retry" approach is actually fine: deleting by docID should be so fast that having to retry if any single docID failed, is probably still plenty fast. Out of curiosity, if you have the numbers handy, how much time does it take to d

RE: Unit test help

2013-12-21 Thread Uwe Schindler
Hi, keep in mind, that the Lucene Test Framework inserts a SecurityManager into the JVM, so tests cannot write outside their working directory or open ports to the internet and do other crazy stuff. This is to ensure, tests don't overwrite any file in the distribution and that a failing/buggy t