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

IndexUpgrader across multiple versions

2015-05-11 Thread Trejkaz
Hi all. Some of our indexes out there in the wild were created on 2.x. We're about to try updating lucene to 5.x, so we have to update them to at least 4.x. Firstly, has anyone already put together a tool to do this? I see several people asking similar questions on the mailing list and figure tha