Class ParallelMultiSearcher
Implements parallel search over a set of Searchables
.
Applications usually need only call the inherited Search(Query, Int32) or Search(Query, Filter, Int32) methods.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class ParallelMultiSearcher : MultiSearcher, Searchable, IDisposable, IDisposable
Constructors
Name | Description |
---|---|
ParallelMultiSearcher(Searchable[]) | Creates a Searchable which searches searchables. |
Methods
Name | Description |
---|---|
DocFreq(Term) | Executes each Searchable's docFreq() in its own thread and waits for each search to complete and merge the results back together. |
Search(Weight, Filter, Collector) | Lower-level search API. Collect(Int32) is called for every matching document. Applications should only use this if they need all of the matching documents. The high-level search API (Search(Query, Int32)) is usually more efficient, as it skips non-high-scoring hits. This method cannot be parallelized, because Collector supports no concurrent access. |
Search(Weight, Filter, Int32) | A search implementation which executes each Searchable in its own thread and waits for each search to complete and merge the results back together. |
Search(Weight, Filter, Int32, Sort) | 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. |