A Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.

The formed spans only contains minimum slop matches.
The matching slop is computed from the distance(s) between the non overlapping matching Spans.
Successive matches are always formed from the successive Spans of the SpanNearQuery.

The formed spans may contain overlaps when the slop is at least 1. For example, when querying using

t1 t2 t3
with slop at least 1, the fragment:
t1 t2 t1 t3 t2 t3
matches twice:
t1 t2 .. t3      
      t1 .. t2 t3
Expert: Only public for subclassing. Most implementations should not need this class

Namespace: Lucene.Net.Search.Spans
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public class NearSpansOrdered : Spans
Visual Basic
Public Class NearSpansOrdered _
	Inherits Spans
Visual C++
public ref class NearSpansOrdered : public Spans

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search.Spans..::..Spans
    Lucene.Net.Search.Spans..::..NearSpansOrdered

See Also