A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together.

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

Syntax

C#
public override TopFieldDocs Search(
	Weight weight,
	Filter filter,
	int nDocs,
	Sort sort
)
Visual Basic
Public Overrides Function Search ( _
	weight As Weight, _
	filter As Filter, _
	nDocs As Integer, _
	sort As Sort _
) As TopFieldDocs
Visual C++
public:
virtual TopFieldDocs^ Search(
	Weight^ weight, 
	Filter^ filter, 
	int nDocs, 
	Sort^ sort
) override

Parameters

weight
Type: Lucene.Net.Search..::..Weight

[Missing <param name="weight"/> documentation for "M:Lucene.Net.Search.ParallelMultiSearcher.Search(Lucene.Net.Search.Weight,Lucene.Net.Search.Filter,System.Int32,Lucene.Net.Search.Sort)"]

filter
Type: Lucene.Net.Search..::..Filter

[Missing <param name="filter"/> documentation for "M:Lucene.Net.Search.ParallelMultiSearcher.Search(Lucene.Net.Search.Weight,Lucene.Net.Search.Filter,System.Int32,Lucene.Net.Search.Sort)"]

nDocs
Type: System..::..Int32

[Missing <param name="nDocs"/> documentation for "M:Lucene.Net.Search.ParallelMultiSearcher.Search(Lucene.Net.Search.Weight,Lucene.Net.Search.Filter,System.Int32,Lucene.Net.Search.Sort)"]

sort
Type: Lucene.Net.Search..::..Sort

[Missing <param name="sort"/> documentation for "M:Lucene.Net.Search.ParallelMultiSearcher.Search(Lucene.Net.Search.Weight,Lucene.Net.Search.Filter,System.Int32,Lucene.Net.Search.Sort)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.ParallelMultiSearcher.Search(Lucene.Net.Search.Weight,Lucene.Net.Search.Filter,System.Int32,Lucene.Net.Search.Sort)"]

Implements

Searchable..::..Search(Weight, Filter, Int32, Sort)

See Also