Initializes a new instance of the PayloadNearQuery class

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

Syntax

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

Parameters

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

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

slop
Type: System..::..Int32

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

inOrder
Type: System..::..Boolean

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

function
Type: Lucene.Net.Search.Payloads..::..PayloadFunction

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

See Also