lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
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).


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)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message