Class Concatenate


  • public final class Concatenate
    extends Combine
    Concatenates several indices.

    This implementation of Combine concatenates the involved indices: document 0 of the first index is document 0 of the final collection, but document 0 of the second index is numbered after the number of documents in the first index, and so on. The resulting index is exactly what you would obtain by concatenating the document sequences at the origin of each index.

    Note that this class can be used also with a single index, making it possible to recompress easily an index using different compression flags.

    Since:
    1.0
    Author:
    Sebastiano Vigna