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
Lucene.Net.Search.IndexSearcher
ShardSearchingTestBase.NodeState.ShardIndexSearcher
Inherited Members
Lucene.Net.Search.IndexSearcher.m_readerContext
Lucene.Net.Search.IndexSearcher.m_leafContexts
Lucene.Net.Search.IndexSearcher.m_leafSlices
Lucene.Net.Search.IndexSearcher.DefaultSimilarity
Lucene.Net.Search.IndexSearcher.Slices(System.Collections.Generic.IList<Lucene.Net.Index.AtomicReaderContext>)
Lucene.Net.Search.IndexSearcher.IndexReader
Lucene.Net.Search.IndexSearcher.Doc(System.Int32)
Lucene.Net.Search.IndexSearcher.Doc(System.Int32, Lucene.Net.Index.StoredFieldVisitor)
Lucene.Net.Search.IndexSearcher.Doc(System.Int32, System.Collections.Generic.ISet<System.String>)
Lucene.Net.Search.IndexSearcher.Document(System.Int32, System.Collections.Generic.ISet<System.String>)
Lucene.Net.Search.IndexSearcher.Similarity
Lucene.Net.Search.IndexSearcher.WrapFilter(Lucene.Net.Search.Query, Lucene.Net.Search.Filter)
Lucene.Net.Search.IndexSearcher.SearchAfter(Lucene.Net.Search.ScoreDoc, Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, Lucene.Net.Search.ICollector)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.ICollector)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32, Lucene.Net.Search.Sort)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32, Lucene.Net.Search.Sort, System.Boolean, System.Boolean)
Lucene.Net.Search.IndexSearcher.SearchAfter(Lucene.Net.Search.ScoreDoc, Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32, Lucene.Net.Search.Sort)
Lucene.Net.Search.IndexSearcher.SearchAfter(Lucene.Net.Search.ScoreDoc, Lucene.Net.Search.Query, System.Int32, Lucene.Net.Search.Sort)
Lucene.Net.Search.IndexSearcher.SearchAfter(Lucene.Net.Search.ScoreDoc, Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32, Lucene.Net.Search.Sort, System.Boolean, System.Boolean)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Weight, Lucene.Net.Search.ScoreDoc, System.Int32)
Lucene.Net.Search.IndexSearcher.Search(System.Collections.Generic.IList<Lucene.Net.Index.AtomicReaderContext>, Lucene.Net.Search.Weight, Lucene.Net.Search.ScoreDoc, System.Int32)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Weight, System.Int32, Lucene.Net.Search.Sort, System.Boolean, System.Boolean)
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Weight, Lucene.Net.Search.FieldDoc, System.Int32, Lucene.Net.Search.Sort, System.Boolean, System.Boolean, System.Boolean)
Lucene.Net.Search.IndexSearcher.Search(System.Collections.Generic.IList<Lucene.Net.Index.AtomicReaderContext>, Lucene.Net.Search.Weight, Lucene.Net.Search.FieldDoc, System.Int32, Lucene.Net.Search.Sort, System.Boolean, System.Boolean, System.Boolean)
Lucene.Net.Search.IndexSearcher.Search(System.Collections.Generic.IList<Lucene.Net.Index.AtomicReaderContext>, Lucene.Net.Search.Weight, Lucene.Net.Search.ICollector)
Lucene.Net.Search.IndexSearcher.Explain(Lucene.Net.Search.Query, System.Int32)
Lucene.Net.Search.IndexSearcher.Explain(Lucene.Net.Search.Weight, System.Int32)
Lucene.Net.Search.IndexSearcher.CreateNormalizedWeight(Lucene.Net.Search.Query)
Lucene.Net.Search.IndexSearcher.TopReaderContext
Lucene.Net.Search.IndexSearcher.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class ShardIndexSearcher : IndexSearcher
Constructors
| Improve this Doc View SourceShardIndexSearcher(ShardSearchingTestBase.NodeState, Int64[], IndexReader, Int32)
Declaration
public ShardIndexSearcher(ShardSearchingTestBase.NodeState nodeState, long[] nodeVersions, IndexReader localReader, int nodeID)
Parameters
Type | Name | Description |
---|---|---|
ShardSearchingTestBase.NodeState | nodeState | |
System.Int64[] | nodeVersions | |
Lucene.Net.Index.IndexReader | localReader | |
System.Int32 | nodeID |
Properties
| Improve this Doc View SourceMyNodeID
Declaration
public int MyNodeID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCollectionStatistics(String)
Declaration
public override CollectionStatistics CollectionStatistics(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field |
Returns
Type | Description |
---|---|
Lucene.Net.Search.CollectionStatistics |
Overrides
Lucene.Net.Search.IndexSearcher.CollectionStatistics(System.String)
|
Improve this Doc
View Source
GetNodeVersions()
Declaration
public long[] GetNodeVersions()
Returns
Type | Description |
---|---|
System.Int64[] |
LocalSearch(Query, Int32)
Declaration
public virtual TopDocs LocalSearch(Query query, int numHits)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
System.Int32 | numHits |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopDocs |
LocalSearch(Query, Int32, Sort)
Declaration
public virtual TopFieldDocs LocalSearch(Query query, int numHits, Sort sort)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
System.Int32 | numHits | |
Lucene.Net.Search.Sort | sort |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopFieldDocs |
LocalSearchAfter(ScoreDoc, Query, Int32)
Declaration
public virtual TopDocs LocalSearchAfter(ScoreDoc after, Query query, int numHits)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.ScoreDoc | after | |
Lucene.Net.Search.Query | query | |
System.Int32 | numHits |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopDocs |
Rewrite(Query)
Declaration
public override Query Rewrite(Query original)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | original |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Query |
Overrides
Lucene.Net.Search.IndexSearcher.Rewrite(Lucene.Net.Search.Query)
|
Improve this Doc
View Source
Search(Query, Int32)
Declaration
public override TopDocs Search(Query query, int numHits)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
System.Int32 | numHits |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopDocs |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, System.Int32)
|
Improve this Doc
View Source
Search(Query, Int32, Sort)
Declaration
public override TopFieldDocs Search(Query query, int numHits, Sort sort)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
System.Int32 | numHits | |
Lucene.Net.Search.Sort | sort |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopFieldDocs |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, System.Int32, Lucene.Net.Search.Sort)
|
Improve this Doc
View Source
SearchAfter(ScoreDoc, Query, Int32)
Declaration
public override TopDocs SearchAfter(ScoreDoc after, Query query, int numHits)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.ScoreDoc | after | |
Lucene.Net.Search.Query | query | |
System.Int32 | numHits |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopDocs |
Overrides
Lucene.Net.Search.IndexSearcher.SearchAfter(Lucene.Net.Search.ScoreDoc, Lucene.Net.Search.Query, System.Int32)
|
Improve this Doc
View Source
TermStatistics(Term, TermContext)
Declaration
public override TermStatistics TermStatistics(Term term, TermContext context)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.Term | term | |
Lucene.Net.Index.TermContext | context |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TermStatistics |
Overrides
Lucene.Net.Search.IndexSearcher.TermStatistics(Lucene.Net.Index.Term, Lucene.Net.Index.TermContext)