Class Consecutive

  • All Implemented Interfaces:
    Query, Serializable

    public class Consecutive
    extends Composite
    A node representing the consecutive composition of the underlying queries.
    Author:
    Sebastiano Vigna
    See Also:
    Serialized Form
    • Field Detail

      • gap

        public final int[] gap
        The gap array for this consecutive composition, or null for no gaps (see ConsecutiveDocumentIterator). The array can be long as Composite.query, or have an additional element representing a final gap: in this case, the index against which the query is resolved must provide document sizes.
    • Constructor Detail

      • Consecutive

        public Consecutive​(Query... query)
      • Consecutive

        public Consecutive​(Query[] query,
                           int[] gap)