C# Class Lucene.Net.Search.TestExplanations

Inheritance: Lucene.Net.Util.LuceneTestCase
Afficher le fichier Open project: apache/lucenenet

Protected Properties

Свойство Type Description
Directory Directory
DocFields string[]
Reader IndexReader
Searcher IndexSearcher

Méthodes publiques

Méthode Description
Bqtest ( Query q, int expDocNrs ) : void

Tests a query using qtest after wrapping it with both optB and reqB

OptB ( Query q ) : Query

MACRO: Wraps a Query in a BooleanQuery so that it is optional, along with a second prohibited clause which will never match anything

Qtest ( Query q, int expDocNrs ) : void

check the expDocNrs first, then check the query (and the explanations)

ReqB ( Query q ) : Query

MACRO: Wraps a Query in a BooleanQuery so that it is required, along with a second optional clause which will match everything

Sf ( string s, int b ) : SpanFirstQuery

MACRO for SpanFirst(SpanTermQuery)

Snear ( SpanQuery s, SpanQuery m, SpanQuery e, int slop, bool inOrder ) : SpanNearQuery

MACRO for SpanNearQuery containing three SpanQueries

Snear ( SpanQuery s, SpanQuery e, int slop, bool inOrder ) : SpanNearQuery

MACRO for SpanNearQuery containing two SpanQueries

Snear ( string s, string e, int slop, bool inOrder ) : SpanNearQuery

MACRO for SpanNearQuery containing two SpanTerm queries

Snear ( string s, string m, string e, int slop, bool inOrder ) : SpanNearQuery

MACRO for SpanNearQuery containing three SpanTerm queries

Snot ( SpanQuery i, SpanQuery e ) : SpanNotQuery

MACRO for SpanNotQuery

Sor ( SpanQuery s, SpanQuery e ) : SpanOrQuery

MACRO for SpanOrQuery containing two SpanQueries

Sor ( SpanQuery s, SpanQuery m, SpanQuery e ) : SpanOrQuery

MACRO for SpanOrQuery containing two SpanQueries

Sor ( string s, string e ) : SpanOrQuery

MACRO for SpanOrQuery containing two SpanTerm queries

Sor ( string s, string m, string e ) : SpanOrQuery

MACRO for SpanOrQuery containing three SpanTerm queries

St ( string s ) : SpanTermQuery

MACRO for SpanTermQuery

Ta ( string s ) : Term[]

helper for generating MultiPhraseQueries

TestNoop ( ) : void

Placeholder: JUnit freaks if you don't have one test ... making class abstract doesn't help

Private Methods

Méthode Description
AfterClassTestExplanations ( ) : void
BeforeClassTestExplanations ( ) : void

Method Details

Bqtest() public méthode

Tests a query using qtest after wrapping it with both optB and reqB
public Bqtest ( Query q, int expDocNrs ) : void
q Query
expDocNrs int
Résultat void

OptB() public méthode

MACRO: Wraps a Query in a BooleanQuery so that it is optional, along with a second prohibited clause which will never match anything
public OptB ( Query q ) : Query
q Query
Résultat Query

Qtest() public méthode

check the expDocNrs first, then check the query (and the explanations)
public Qtest ( Query q, int expDocNrs ) : void
q Query
expDocNrs int
Résultat void

ReqB() public méthode

MACRO: Wraps a Query in a BooleanQuery so that it is required, along with a second optional clause which will match everything
public ReqB ( Query q ) : Query
q Query
Résultat Query

Sf() public méthode

MACRO for SpanFirst(SpanTermQuery)
public Sf ( string s, int b ) : SpanFirstQuery
s string
b int
Résultat SpanFirstQuery

Snear() public méthode

MACRO for SpanNearQuery containing three SpanQueries
public Snear ( SpanQuery s, SpanQuery m, SpanQuery e, int slop, bool inOrder ) : SpanNearQuery
s SpanQuery
m SpanQuery
e SpanQuery
slop int
inOrder bool
Résultat SpanNearQuery

Snear() public méthode

MACRO for SpanNearQuery containing two SpanQueries
public Snear ( SpanQuery s, SpanQuery e, int slop, bool inOrder ) : SpanNearQuery
s SpanQuery
e SpanQuery
slop int
inOrder bool
Résultat SpanNearQuery

Snear() public méthode

MACRO for SpanNearQuery containing two SpanTerm queries
public Snear ( string s, string e, int slop, bool inOrder ) : SpanNearQuery
s string
e string
slop int
inOrder bool
Résultat SpanNearQuery

Snear() public méthode

MACRO for SpanNearQuery containing three SpanTerm queries
public Snear ( string s, string m, string e, int slop, bool inOrder ) : SpanNearQuery
s string
m string
e string
slop int
inOrder bool
Résultat SpanNearQuery

Snot() public méthode

MACRO for SpanNotQuery
public Snot ( SpanQuery i, SpanQuery e ) : SpanNotQuery
i SpanQuery
e SpanQuery
Résultat SpanNotQuery

Sor() public méthode

MACRO for SpanOrQuery containing two SpanQueries
public Sor ( SpanQuery s, SpanQuery e ) : SpanOrQuery
s SpanQuery
e SpanQuery
Résultat SpanOrQuery

Sor() public méthode

MACRO for SpanOrQuery containing two SpanQueries
public Sor ( SpanQuery s, SpanQuery m, SpanQuery e ) : SpanOrQuery
s SpanQuery
m SpanQuery
e SpanQuery
Résultat SpanOrQuery

Sor() public méthode

MACRO for SpanOrQuery containing two SpanTerm queries
public Sor ( string s, string e ) : SpanOrQuery
s string
e string
Résultat SpanOrQuery

Sor() public méthode

MACRO for SpanOrQuery containing three SpanTerm queries
public Sor ( string s, string m, string e ) : SpanOrQuery
s string
m string
e string
Résultat SpanOrQuery

St() public méthode

MACRO for SpanTermQuery
public St ( string s ) : SpanTermQuery
s string
Résultat SpanTermQuery

Ta() public static méthode

helper for generating MultiPhraseQueries
public static Ta ( string s ) : Term[]
s string
Résultat Term[]

TestNoop() public méthode

Placeholder: JUnit freaks if you don't have one test ... making class abstract doesn't help
public TestNoop ( ) : void
Résultat void

Property Details

Directory protected_oe static_oe property

protected static Directory Directory
Résultat Directory

DocFields protected_oe static_oe property

protected static string[] DocFields
Résultat string[]

Reader protected_oe static_oe property

protected static IndexReader Reader
Résultat IndexReader

Searcher protected_oe static_oe property

protected static IndexSearcher Searcher
Résultat IndexSearcher