Mailing List Archive

Return value (or lack thereof) from IndexWriter.deleteDocuments
Is there a reason why this doesn't return a count? Would a JIRA
requesting same be viewed with any sympathy?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Return value (or lack thereof) from IndexWriter.deleteDocuments [ In reply to ]
Today I was thinking the same with the update operation.

Is there any reason these are not provided?

Francisco A. Lozano



On Sun, Mar 4, 2012 at 22:42, Benson Margulies <bimargulies@gmail.com> wrote:
> Is there a reason why this doesn't return a count? Would a JIRA
> requesting same be viewed with any sympathy?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Return value (or lack thereof) from IndexWriter.deleteDocuments [ In reply to ]
It's because the delete is buffered and only later applied in batch...
so we can't easily know the count.

Mike McCandless

http://blog.mikemccandless.com

On Sun, Mar 4, 2012 at 4:42 PM, Benson Margulies <bimargulies@gmail.com> wrote:
> Is there a reason why this doesn't return a count? Would a JIRA
> requesting same be viewed with any sympathy?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org