getInstance(DocumentIterator... documentIterator) Returns a document iterator that computes the OR of the given array of iterators.
Note that the special case of the empty and of the singleton arrays
are handled efficiently.
Parameters: documentIterator - the iterators to be joined.
Creates a new document iterator that computes the OR of the given array of iterators.
Parameters: documentIterator - the iterators to be joined. throws: IOException -
Returns a document iterator that computes the OR of the given array of iterators.
Note that the special case of the empty and of the singleton arrays
are handled efficiently.
Parameters: documentIterator - the iterators to be joined. a document iterator that computes the OR of it. throws: IOException -
Fields inherited from it.unimi.dsi.mg4j.search.AbstractUnionDocumentIterator