Method | Description | |
---|---|---|
CorrectnessTestCore ( Lucene.Net.Search.Similarities.SimilarityBase sim, float gold ) : void |
The generic test core called by all correctness test methods. It calls the SimilarityBase#score(BasicStats, float, float) method of all Similarities in #sims and compares the score against the manually computed {@code gold}.
|
|
CreateStats ( ) : Lucene.Net.Search.Similarities.BasicStats |
Creates the default statistics object that the specific tests modify.
|
|
SetUp ( ) : void | ||
TearDown ( ) : void | ||
TestAllDocumentsRelevant ( ) : void | ||
TestAllTermsRelevant ( ) : void | ||
TestAllTermsRelevantOnlyOneDocument ( ) : void | ||
TestBEB1 ( ) : void | ||
TestD ( ) : void | ||
TestDefault ( ) : void | ||
TestDiscountOverlapsBoost ( ) : void | ||
TestDocumentLengthAverage ( ) : void | ||
TestGL1 ( ) : void | ||
TestHeartList ( ) : void | ||
TestHeartRanking ( ) : void | ||
TestIFB ( ) : void | ||
TestIn2 ( ) : void | ||
TestIneB2 ( ) : void | ||
TestLLForIB ( ) : void | ||
TestLMDirichlet ( ) : void | ||
TestLMJelinekMercer ( ) : void | ||
TestMoreTermsThanDocuments ( ) : void | ||
TestMostDocumentsRelevant ( ) : void | ||
TestNumberOfTermsAsDocuments ( ) : void | ||
TestOneDocument ( ) : void | ||
TestOneRelevantDocument ( ) : void | ||
TestOneTerm ( ) : void | ||
TestOnlyOneRelevantDocument ( ) : void | ||
TestOnlyOneTerm ( ) : void | ||
TestOnlyOneTermOneDocument ( ) : void | ||
TestPL2 ( ) : void | ||
TestSPLForIB ( ) : void | ||
TestSparseDocuments ( ) : void | ||
TestVerySparseDocuments ( ) : void | ||
ToCollectionStats ( Lucene.Net.Search.Similarities.BasicStats stats ) : CollectionStatistics | ||
ToTermStats ( Lucene.Net.Search.Similarities.BasicStats stats ) : TermStatistics | ||
UnitTestCore ( Lucene.Net.Search.Similarities.BasicStats stats, float freq, int docLen ) : void |
The generic test core called by all unit test methods. It calls the SimilarityBase#score(BasicStats, float, float) method of all Similarities in #sims and checks if the score is valid; i.e. it is a finite positive real number.
|