Expert: Constructs an appropriate Weight implementation for this query.

Only implemented by primitive queries, which re-write to themselves.

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

Syntax

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

Parameters

searcher
Type: Lucene.Net.Search..::..Searcher

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

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.Query.CreateWeight(Lucene.Net.Search.Searcher)"]

See Also