Builds a new TermQuery instance

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

Syntax

C#
protected internal virtual Query NewTermQuery(
	Term term
)
Visual Basic
Protected Friend Overridable Function NewTermQuery ( _
	term As Term _
) As Query
Visual C++
protected public:
virtual Query^ NewTermQuery(
	Term^ term
)

Parameters

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

Return Value

new TermQuery instance

See Also