lucene hanging when calling writer.deleteDocuments

2015-05-11 Thread Fielder, Todd Patrick
Hello, I have a call to writer.deleteDocuments(term); that hangs if the document is not in the index. It works fine if the document is in the index. Is this the expected behavior? If so, is there a better method to call if I don't know if the term is in the index? Thanks -Todd

Re: lucene hanging when calling writer.deleteDocuments

2015-05-11 Thread Erick Erickson
bq: if the document is not in the index. It works fine if the document is in the index. A bit confused here, do you mean the _term_ is in the index or the document that contained the term has already been deleted? Under either circumstance, we should't hang, it would be a great help if you could