Create weight in multiple index scenario. Distributed query processing is done in the following steps: 1. rewrite query 2. extract necessary terms 3. collect dfs for these terms from the Searchables 4. create query weight using aggregate dfs. 5. distribute that weight to Searchables 6. merge results Steps 1-4 are done here, 5+6 in the search() methods

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

Syntax

C#
public override Weight CreateWeight(
	Query original
)
Visual Basic
Public Overrides Function CreateWeight ( _
	original As Query _
) As Weight
Visual C++
public:
virtual Weight^ CreateWeight(
	Query^ original
) override

Parameters

original
Type: Lucene.Net.Search..::..Query

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

Return Value

rewritten queries

See Also