Class ExplanationAssertingSearcher
An Lucene.Net.Search.IndexSearcher that implicitly checks hte explanation of every match whenever it executes a search.
Inheritance
System.Object
Lucene.Net.Search.IndexSearcher
ExplanationAssertingSearcher
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, System.Int32)
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, System.Int32)
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.Search(Lucene.Net.Search.Query, 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.Rewrite(Lucene.Net.Search.Query)
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()
Lucene.Net.Search.IndexSearcher.TermStatistics(Lucene.Net.Index.Term, Lucene.Net.Index.TermContext)
Lucene.Net.Search.IndexSearcher.CollectionStatistics(System.String)
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 ExplanationAssertingSearcher : IndexSearcher
Constructors
| Improve this Doc View SourceExplanationAssertingSearcher(IndexReader)
Declaration
public ExplanationAssertingSearcher(IndexReader r)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.IndexReader | r |
Methods
| Improve this Doc View SourceCheckExplanations(Query)
Declaration
protected virtual void CheckExplanations(Query q)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | q |
Search(Query, Filter, ICollector)
Declaration
public override void Search(Query query, Filter filter, ICollector results)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
Lucene.Net.Search.Filter | filter | |
Lucene.Net.Search.ICollector | results |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, Lucene.Net.Search.ICollector)
|
Improve this Doc
View Source
Search(Query, Filter, Int32)
Declaration
public override TopDocs Search(Query query, Filter filter, int n)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
Lucene.Net.Search.Filter | filter | |
System.Int32 | n |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopDocs |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32)
|
Improve this Doc
View Source
Search(Query, Filter, Int32, Sort)
Declaration
public override TopFieldDocs Search(Query query, Filter filter, int n, Sort sort)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
Lucene.Net.Search.Filter | filter | |
System.Int32 | n | |
Lucene.Net.Search.Sort | sort |
Returns
Type | Description |
---|---|
Lucene.Net.Search.TopFieldDocs |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.Filter, System.Int32, Lucene.Net.Search.Sort)
|
Improve this Doc
View Source
Search(Query, ICollector)
Declaration
public override void Search(Query query, ICollector results)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
Lucene.Net.Search.ICollector | results |
Overrides
Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Query, Lucene.Net.Search.ICollector)