C# Class Lucene.Net.Search.TestDisjunctionMaxQuery

Inheritance: Lucene.Net.Util.LuceneTestCase
Datei anzeigen Open project: apache/lucenenet

Public Properties

Property Type Description
Index Directory
SCORE_COMP_THRESH float
Sim Similarity
r Lucene.Net.Index.IndexReader
s IndexSearcher

Protected Methods

Method Description
PrintHits ( string test, Lucene.Net.Search.ScoreDoc h, IndexSearcher searcher ) : void
Tq ( string f, string t ) : Query

macro

Tq ( string f, string t, float b ) : Query

macro

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestBooleanOptionalNoTiebreaker ( ) : void
TestBooleanOptionalWithTiebreaker ( ) : void
TestBooleanOptionalWithTiebreakerAndBoost ( ) : void
TestBooleanRequiredEqualScores ( ) : void
TestBooleanSpanQuery ( ) : void
TestDisjunctionMaxQuery ( ) : System
TestSimpleEqualScores1 ( ) : void
TestSimpleEqualScores2 ( ) : void
TestSimpleEqualScores3 ( ) : void
TestSimpleTiebreaker ( ) : void
TestSkipToFirsttimeHit ( ) : void
TestSkipToFirsttimeMiss ( ) : void

Method Details

PrintHits() protected method

protected PrintHits ( string test, Lucene.Net.Search.ScoreDoc h, IndexSearcher searcher ) : void
test string
h Lucene.Net.Search.ScoreDoc
searcher IndexSearcher
return void

Tq() protected method

macro
protected Tq ( string f, string t ) : Query
f string
t string
return Query

Tq() protected method

macro
protected Tq ( string f, string t, float b ) : Query
f string
t string
b float
return Query

Property Details

Index public_oe property

public Directory Index
return Directory

SCORE_COMP_THRESH public_oe static_oe property

threshold for comparing floats
public static float SCORE_COMP_THRESH
return float

Sim public_oe property

public Similarity,Lucene.Net.Search Sim
return Similarity

r public_oe property

public IndexReader,Lucene.Net.Index r
return Lucene.Net.Index.IndexReader

s public_oe property

public IndexSearcher,Lucene.Net.Search s
return IndexSearcher