lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Consolidate IndexWriter.deleteDocuments()
Date Sat, 17 May 2014 08:38:26 GMT
+1

Mike McCandless

http://blog.mikemccandless.com


On Fri, May 16, 2014 at 7:03 PM, Chris Hostetter
<hossman_lucene@fucit.org> wrote:
>
> : I was looking at IW.deleteDocs() API, and was wondering why do we have both
> : deleteDocuments(Term) and deleteDocuments(Term...). Why can't we have just
> : the vararg one? Same applies to deleteDocuments(Query).
>
> +1
>
> I think those method signatures just haven't been cleaned up since the
> introduction of varags ?
>
> (ie: Lucene 2.9 was Java1.4 compatible and had Array versions of both of
> those methods instead of the more general vararg versions we have now)
>
>
> -Hoss
> http://www.lucidworks.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Mime
View raw message