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
Datei anzeigen Open project: apache/lucenenet

Public Methods

Method 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 method

public AcceptsDocsOutOfOrder ( ) : bool
return bool

Collect() public method

public Collect ( int doc ) : void
doc int
return void

ExplanationAsserter() public method

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
return System

ExplanationAsserter() public method

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