lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Consolidate IndexWriter.deleteDocuments()
Date Fri, 16 May 2014 23:03:20 GMT

: 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


Mime
View raw message