Initializes a new instance of the PayloadTermQuery class

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

Syntax

C#
public PayloadTermQuery(
	Term term,
	PayloadFunction function,
	bool includeSpanScore
)
Visual Basic
Public Sub New ( _
	term As Term, _
	function As PayloadFunction, _
	includeSpanScore As Boolean _
)
Visual C++
public:
PayloadTermQuery(
	Term^ term, 
	PayloadFunction^ function, 
	bool includeSpanScore
)

Parameters

term
Type: Lucene.Net.Index..::..Term

[Missing <param name="term"/> documentation for "M:Lucene.Net.Search.Payloads.PayloadTermQuery.#ctor(Lucene.Net.Index.Term,Lucene.Net.Search.Payloads.PayloadFunction,System.Boolean)"]

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

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

includeSpanScore
Type: System..::..Boolean

[Missing <param name="includeSpanScore"/> documentation for "M:Lucene.Net.Search.Payloads.PayloadTermQuery.#ctor(Lucene.Net.Index.Term,Lucene.Net.Search.Payloads.PayloadFunction,System.Boolean)"]

See Also