The ParallelMultiSearcher type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close | (Inherited from MultiSearcher.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
CreateWeight | 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
(Inherited from MultiSearcher.) | |
Dispose |
.NET
(Inherited from MultiSearcher.) | |
Doc(Int32) | (Inherited from MultiSearcher.) | |
Doc(Int32, FieldSelector) | (Inherited from MultiSearcher.) | |
DocFreq | TODO: parallelize this one too (Overrides MultiSearcher..::..DocFreq(Term).) | |
DocFreqs | (Inherited from Searcher.) | |
Equals | (Inherited from Object.) | |
Explain(Query, Int32) | Returns an Explanation that describes how (Inherited from Searcher.)CopyC# doc CopyC# query | |
Explain(Weight, Int32) | (Inherited from MultiSearcher.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetSearchables | Return the array of {@link Searchable}s this searches. (Inherited from MultiSearcher.) | |
GetSimilarity | Expert: Return the Similarity implementation used by this Searcher.
This defaults to the current value of {@link Similarity#GetDefault()}.
(Inherited from Searcher.) | |
GetStarts | (Inherited from MultiSearcher.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MaxDoc | (Inherited from MultiSearcher.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
Rewrite | (Overrides MultiSearcher..::..Rewrite(Query).) | |
Search(Query) | Obsolete. Returns the documents matching (Inherited from Searcher.)CopyC# query | |
Search(Query, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching document.
Applications should only use this if they need all of the matching
documents. The high-level search API ({@link Searcher#Search(Query, int)}
) is usually more efficient, as it skips non-high-scoring hits.
Note: The (Inherited from Searcher.)CopyC# score | |
Search(Query, Filter) | Obsolete. Returns the documents matching (Inherited from Searcher.)CopyC# query CopyC# filter | |
Search(Query, HitCollector) | Obsolete. Lower-level search API.
{@link HitCollector#Collect(int,float)} is called for every matching
document.
Applications should only use this if they need all of the
matching documents. The high-level search API ({@link
Searcher#Search(Query)}) is usually more efficient, as it skips
non-high-scoring hits.
Note: The (Inherited from Searcher.)CopyC# score | |
Search(Query, Sort) | Obsolete. Returns documents matching (Inherited from Searcher.)CopyC# query CopyC# sort | |
Search(Query, Int32) | Finds the top (Inherited from Searcher.)CopyC# n CopyC# query | |
Search(Query, Filter, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching
document.
(Inherited from Searcher.)Collector-based access to remote indexes is discouraged. Applications should only use this if they need all of the matching documents. The high-level search API ({@link Searcher#Search(Query, Filter, int)}) is usually more efficient, as it skips non-high-scoring hits. | |
Search(Query, Filter, HitCollector) | Obsolete. Lower-level search API.
{@link HitCollector#Collect(int,float)} is called for every matching
document.
(Inherited from Searcher.)HitCollector-based access to remote indexes is discouraged. Applications should only use this if they need all of the matching documents. The high-level search API ({@link Searcher#Search(Query, Filter, int)}) is usually more efficient, as it skips non-high-scoring hits. | |
Search(Query, Filter, Sort) | Obsolete. Returns documents matching (Inherited from Searcher.)CopyC# query CopyC# filter CopyC# sort | |
Search(Query, Filter, Int32) | Finds the top (Inherited from Searcher.)CopyC# n CopyC# query CopyC# filter | |
Search(Weight, Filter, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching document.
Applications should only use this if they need all of the
matching documents. The high-level search API ({@link
Searcher#Search(Query)}) is usually more efficient, as it skips
non-high-scoring hits.
(Overrides MultiSearcher..::..Search(Weight, Filter, Collector).) | |
Search(Weight, Filter, Int32) | A search implementation which spans a new thread for each
Searchable, waits for each search to complete and merge
the results back together.
(Overrides MultiSearcher..::..Search(Weight, Filter, Int32).) | |
Search(Weight, Filter, HitCollector) | Obsolete. (Inherited from Searcher.) | |
Search(Query, Filter, Int32, Sort) | Search implementation with arbitrary sorting. Finds
the top (Inherited from Searcher.)CopyC# n CopyC# query CopyC# filter CopyC# sort | |
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.
(Overrides MultiSearcher..::..Search(Weight, Filter, Int32, Sort).) | |
SetSimilarity | Expert: Set the Similarity implementation used by this Searcher.
(Inherited from Searcher.) | |
SubDoc | Returns the document number of document (Inherited from MultiSearcher.)CopyC# n | |
SubSearcher | Returns index of the searcher for document (Inherited from MultiSearcher.)CopyC# n | |
ToString | (Inherited from Object.) |