Class ShardSearchingTestBase.NodeState.ShardIndexSearcher
Matches docs in the local shard but scores based on
aggregated stats ("mock distributed scoring") from all
nodes.
Inheritance
System.Object
ShardSearchingTestBase.NodeState.ShardIndexSearcher
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class ShardIndexSearcher : IndexSearcher
Constructors
|
Improve this Doc
View Source
ShardIndexSearcher(ShardSearchingTestBase.NodeState, Int64[], IndexReader, Int32)
Declaration
public ShardIndexSearcher(ShardSearchingTestBase.NodeState nodeState, long[] nodeVersions, IndexReader localReader, int nodeID)
Parameters
Properties
|
Improve this Doc
View Source
MyNodeID
Declaration
public int MyNodeID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
CollectionStatistics(String)
Declaration
public override CollectionStatistics CollectionStatistics(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
CollectionStatistics |
|
|
Improve this Doc
View Source
GetNodeVersions()
Declaration
public long[] GetNodeVersions()
Returns
Type |
Description |
System.Int64[] |
|
|
Improve this Doc
View Source
LocalSearch(Query, Int32)
Declaration
public virtual TopDocs LocalSearch(Query query, int numHits)
Parameters
Type |
Name |
Description |
Query |
query |
|
System.Int32 |
numHits |
|
Returns
|
Improve this Doc
View Source
LocalSearch(Query, Int32, Sort)
Declaration
public virtual TopFieldDocs LocalSearch(Query query, int numHits, Sort sort)
Parameters
Type |
Name |
Description |
Query |
query |
|
System.Int32 |
numHits |
|
Sort |
sort |
|
Returns
Type |
Description |
TopFieldDocs |
|
|
Improve this Doc
View Source
LocalSearchAfter(ScoreDoc, Query, Int32)
Declaration
public virtual TopDocs LocalSearchAfter(ScoreDoc after, Query query, int numHits)
Parameters
Type |
Name |
Description |
ScoreDoc |
after |
|
Query |
query |
|
System.Int32 |
numHits |
|
Returns
|
Improve this Doc
View Source
Rewrite(Query)
Declaration
public override Query Rewrite(Query original)
Parameters
Type |
Name |
Description |
Query |
original |
|
Returns
|
Improve this Doc
View Source
Search(Query, Int32)
Declaration
public override TopDocs Search(Query query, int numHits)
Parameters
Type |
Name |
Description |
Query |
query |
|
System.Int32 |
numHits |
|
Returns
|
Improve this Doc
View Source
Search(Query, Int32, Sort)
Declaration
public override TopFieldDocs Search(Query query, int numHits, Sort sort)
Parameters
Type |
Name |
Description |
Query |
query |
|
System.Int32 |
numHits |
|
Sort |
sort |
|
Returns
Type |
Description |
TopFieldDocs |
|
|
Improve this Doc
View Source
SearchAfter(ScoreDoc, Query, Int32)
Declaration
public override TopDocs SearchAfter(ScoreDoc after, Query query, int numHits)
Parameters
Type |
Name |
Description |
ScoreDoc |
after |
|
Query |
query |
|
System.Int32 |
numHits |
|
Returns
|
Improve this Doc
View Source
TermStatistics(Term, TermContext)
Declaration
public override TermStatistics TermStatistics(Term term, TermContext context)
Parameters
Type |
Name |
Description |
Term |
term |
|
TermContext |
context |
|
Returns
Type |
Description |
TermStatistics |
|