creates a weight for
CopyC#
query

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

Syntax

C#
public virtual Weight CreateWeight(
	Query query
)
Visual Basic
Public Overridable Function CreateWeight ( _
	query As Query _
) As Weight
Visual C++
public:
virtual Weight^ CreateWeight(
	Query^ query
)

Parameters

query
Type: Lucene.Net.Search..::..Query

[Missing <param name="query"/> documentation for "M:Lucene.Net.Search.Searcher.CreateWeight(Lucene.Net.Search.Query)"]

Return Value

new weight

See Also