DotLucene 1.4 API Documentation |

# SpanNearQuery Constructor

Construct a SpanNearQuery. Matches spans matching a span from each clause, with up to `slop` total unmatched positions between them. * When `inOrder` is true, the spans from each clause must be * ordered as in `clauses`.

public SpanNearQuery(
SpanQuery[] clauses,
int slop,
bool inOrder
);

#### See Also

SpanNearQuery Class | Lucene.Net.Search.Spans Namespace