Initializes a new instance of the SpanNearQuery class

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

Syntax

C#
public SpanNearQuery(
	SpanQuery[] clauses,
	int slop,
	bool inOrder,
	bool collectPayloads
)
Visual Basic
Public Sub New ( _
	clauses As SpanQuery(), _
	slop As Integer, _
	inOrder As Boolean, _
	collectPayloads As Boolean _
)
Visual C++
public:
SpanNearQuery(
	array<SpanQuery^>^ clauses, 
	int slop, 
	bool inOrder, 
	bool collectPayloads
)

Parameters

clauses
Type: array<Lucene.Net.Search.Spans..::..SpanQuery>[]()[][]

[Missing <param name="clauses"/> documentation for "M:Lucene.Net.Search.Spans.SpanNearQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery[],System.Int32,System.Boolean,System.Boolean)"]

slop
Type: System..::..Int32

[Missing <param name="slop"/> documentation for "M:Lucene.Net.Search.Spans.SpanNearQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery[],System.Int32,System.Boolean,System.Boolean)"]

inOrder
Type: System..::..Boolean

[Missing <param name="inOrder"/> documentation for "M:Lucene.Net.Search.Spans.SpanNearQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery[],System.Int32,System.Boolean,System.Boolean)"]

collectPayloads
Type: System..::..Boolean

[Missing <param name="collectPayloads"/> documentation for "M:Lucene.Net.Search.Spans.SpanNearQuery.#ctor(Lucene.Net.Search.Spans.SpanQuery[],System.Int32,System.Boolean,System.Boolean)"]

See Also