Hi

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).

Both delDocs(Term) and delDocs(Term..) call DocsWriter.deleteTerms(Term...)
and otherwise look identical.

Would be nice if we can consolidate them, to reduce IW API. What do you
think?

Shai

Reply via email to