You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Fielder, Todd Patrick" <tp...@sandia.gov> on 2015/05/12 01:22:22 UTC
lucene hanging when calling writer.deleteDocuments
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
Posted by Erick Erickson <er...@gmail.com>.
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 write a test case that illustrates this behavior.
Best,
Erick
On Mon, May 11, 2015 at 6:22 PM, Fielder, Todd Patrick
<tp...@sandia.gov> wrote:
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org