Class SpanNearQuery.Builder

  • Enclosing class:
    SpanNearQuery

    public static class SpanNearQuery.Builder
    extends Object
    A builder for SpanNearQueries
    • Constructor Detail

      • Builder

        public Builder​(String field,
                       boolean ordered)
        Construct a new builder
        Parameters:
        field - the field to search in
        ordered - whether or not clauses must be in-order to match