C# Class Lucene.Net.Search.TestSloppyPhraseQuery

Inheritance: LuceneTestCase
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Private Methods

Method Description
AssertSaneScoring ( PhraseQuery pq, IndexSearcher searcher ) : void

checks that no scores or freqs are infinite

CheckPhraseQuery ( Lucene.Net.Documents.Document doc, PhraseQuery query, int slop, int expectedNumResults ) : float
MakeDocument ( string docText ) : Lucene.Net.Documents.Document
MakePhraseQuery ( string terms ) : PhraseQuery
TestDoc1_Query1_All_Slops_Should_match ( ) : void
TestDoc2_Query1_Slop_6_or_more_Should_match ( ) : void
TestDoc2_Query2_All_Slops_Should_match ( ) : void
TestDoc3_Query1_All_Slops_Should_match ( ) : void
TestDoc4_Query4_All_Slops_Should_match ( ) : void
TestDoc5_Query5_Any_Slop_Should_be_consistent ( ) : void
TestInfiniteFreq1 ( ) : void
TestInfiniteFreq2 ( ) : void
TestSlopWithHoles ( ) : void