C# Class Lucene.Net.Search.CheckHits.ExplanationAsserter

Asserts that the score explanation for every document matching a query corresponds with the true score. NOTE: this HitCollector should only be used with the Query and Searcher specified at when it is constructed.
Inheritance: Collector
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
AcceptsDocsOutOfOrder ( ) : bool
Collect ( int doc ) : void
ExplanationAsserter ( Query q, string defaultFieldName, IndexSearcher s ) : System

Constructs an instance which does shallow tests on the Explanation

ExplanationAsserter ( Query q, string defaultFieldName, IndexSearcher s, bool deep ) : System

Method Details

AcceptsDocsOutOfOrder() public méthode

public AcceptsDocsOutOfOrder ( ) : bool
Résultat bool

Collect() public méthode

public Collect ( int doc ) : void
doc int
Résultat void

ExplanationAsserter() public méthode

Constructs an instance which does shallow tests on the Explanation
public ExplanationAsserter ( Query q, string defaultFieldName, IndexSearcher s ) : System
q Query
defaultFieldName string
s IndexSearcher
Résultat System

ExplanationAsserter() public méthode

public ExplanationAsserter ( Query q, string defaultFieldName, IndexSearcher s, bool deep ) : System
q Query
defaultFieldName string
s IndexSearcher
deep bool
Résultat System