C# 클래스 Lucene.Net.Search.TestExplanations

상속: Lucene.Net.Util.LuceneTestCase
파일 보기 프로젝트 열기: apache/lucenenet

보호된 프로퍼티들

프로퍼티 타입 설명
Directory Directory
DocFields string[]
Reader IndexReader
Searcher IndexSearcher

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AfterClassTestExplanations ( ) : void
BeforeClassTestExplanations ( ) : void

메소드 상세

Bqtest() 공개 메소드

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

OptB() 공개 메소드

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
리턴 Query

Qtest() 공개 메소드

check the expDocNrs first, then check the query (and the explanations)
public Qtest ( Query q, int expDocNrs ) : void
q Query
expDocNrs int
리턴 void

ReqB() 공개 메소드

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
리턴 Query

Sf() 공개 메소드

MACRO for SpanFirst(SpanTermQuery)
public Sf ( string s, int b ) : SpanFirstQuery
s string
b int
리턴 SpanFirstQuery

Snear() 공개 메소드

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
리턴 SpanNearQuery

Snear() 공개 메소드

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
리턴 SpanNearQuery

Snear() 공개 메소드

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
리턴 SpanNearQuery

Snear() 공개 메소드

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
리턴 SpanNearQuery

Snot() 공개 메소드

MACRO for SpanNotQuery
public Snot ( SpanQuery i, SpanQuery e ) : SpanNotQuery
i SpanQuery
e SpanQuery
리턴 SpanNotQuery

Sor() 공개 메소드

MACRO for SpanOrQuery containing two SpanQueries
public Sor ( SpanQuery s, SpanQuery e ) : SpanOrQuery
s SpanQuery
e SpanQuery
리턴 SpanOrQuery

Sor() 공개 메소드

MACRO for SpanOrQuery containing two SpanQueries
public Sor ( SpanQuery s, SpanQuery m, SpanQuery e ) : SpanOrQuery
s SpanQuery
m SpanQuery
e SpanQuery
리턴 SpanOrQuery

Sor() 공개 메소드

MACRO for SpanOrQuery containing two SpanTerm queries
public Sor ( string s, string e ) : SpanOrQuery
s string
e string
리턴 SpanOrQuery

Sor() 공개 메소드

MACRO for SpanOrQuery containing three SpanTerm queries
public Sor ( string s, string m, string e ) : SpanOrQuery
s string
m string
e string
리턴 SpanOrQuery

St() 공개 메소드

MACRO for SpanTermQuery
public St ( string s ) : SpanTermQuery
s string
리턴 SpanTermQuery

Ta() 공개 정적인 메소드

helper for generating MultiPhraseQueries
public static Ta ( string s ) : Term[]
s string
리턴 Term[]

TestNoop() 공개 메소드

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

프로퍼티 상세

Directory 보호되어 있는 정적으로 프로퍼티

protected static Directory Directory
리턴 Directory

DocFields 보호되어 있는 정적으로 프로퍼티

protected static string[] DocFields
리턴 string[]

Reader 보호되어 있는 정적으로 프로퍼티

protected static IndexReader Reader
리턴 IndexReader

Searcher 보호되어 있는 정적으로 프로퍼티

protected static IndexSearcher Searcher
리턴 IndexSearcher