Class SpanNotQueryBuilder

    • Constructor Detail

      • SpanNotQueryBuilder

        public SpanNotQueryBuilder​(SpanQueryBuilder include,
                                   SpanQueryBuilder exclude)
        Construct a span query matching spans from include which have no overlap with spans from exclude.
        Parameters:
        include - the span query whose matches are filtered
        exclude - the span query whose matches must not overlap
      • SpanNotQueryBuilder

        public SpanNotQueryBuilder​(StreamInput in)
                            throws java.io.IOException
        Read from a stream.
        Throws:
        java.io.IOException