Class SpanNotQueryBuilder

org.elasticsearch.index.query.AbstractQueryBuilder<SpanNotQueryBuilder>
org.elasticsearch.index.query.SpanNotQueryBuilder
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, QueryBuilder, Rewriteable<QueryBuilder>, SpanQueryBuilder

public class SpanNotQueryBuilder extends AbstractQueryBuilder<SpanNotQueryBuilder> implements SpanQueryBuilder
  • Field Details

  • Constructor Details

    • 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
      Read from a stream.
      Throws:
  • Method Details