C# 클래스 Lucene.Net.QueryParsers.TestQueryParser

상속: Lucene.Net.Util.LocalizedTestCase
파일 보기 프로젝트 열기: synhershko/lucene.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
qpAnalyzer Lucene.Net.Analysis.Analyzer

공개 메소드들

메소드 설명
AssertDateRangeQueryEquals ( QueryParser qp, System field, System startDate, System endDate, System endDateInclusive, Lucene.Net.Documents.DateTools resolution ) : void
AssertEscapedQueryEquals ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
AssertParseException ( System queryString ) : void
AssertQueryEquals ( QueryParser qp, System field, System query, System result ) : void
AssertQueryEquals ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
AssertQueryEqualsDOA ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
AssertWildcardQueryEquals ( System query, System result ) : void
AssertWildcardQueryEquals ( System query, bool lowercase, System result ) : void
AssertWildcardQueryEquals ( System query, bool lowercase, System result, bool allowLeadingWildcard ) : void
GetParser ( Lucene.Net.Analysis.Analyzer a ) : QueryParser
GetQuery ( System query, Lucene.Net.Analysis.Analyzer a ) : Lucene.Net.Search.Query
GetQueryDOA ( System query, Lucene.Net.Analysis.Analyzer a ) : Lucene.Net.Search.Query
TestQueryParser ( ) : System
TestQueryParser ( System name ) : System

비공개 메소드들

메소드 설명
AddDateDoc ( System content, int year, int month, int day, int hour, int minute, int second, Lucene.Net.Index.IndexWriter iw ) : void
AssertHits ( int expected, System query, Lucene.Net.Search.IndexSearcher is_Renamed ) : void
EscapeDateString ( System s ) : System.String
GetDate ( System s, Lucene.Net.Documents.DateTools resolution ) : System.String

for testing DateTools support

GetLegacyDate ( System s ) : System.String

for testing legacy DateField support

GetLocalizedDate ( int year, int month, int day, bool extendLastDate ) : System.String
SetUp ( ) : void
TearDown ( ) : void
TestBooleanQuery ( ) : void
TestBoost ( ) : void
TestCJK ( ) : void
TestCustomQueryParserFuzzy ( ) : void
TestCustomQueryParserWildcard ( ) : void
TestDateRange ( ) : void
TestEscaped ( ) : void
TestException ( ) : void
TestFarsiRangeCollating ( ) : void
TestLeadingWildcardType ( ) : void
TestLegacyDateRange ( ) : void
TestLocalDateFormat ( ) : void
TestMatchAllDocs ( ) : void
TestNumber ( ) : void
TestPositionIncrement ( ) : void
TestPositionIncrements ( ) : void
TestPrecedence ( ) : void
TestProtectedCtors ( ) : void
TestPunct ( ) : void
TestQPA ( ) : void
TestQueryStringEscaping ( ) : void
TestRange ( ) : void
TestSimple ( ) : void
TestSimpleDAO ( ) : void
TestSlop ( ) : void
TestStarParsing ( ) : void
TestStopWordsInPhraseQuery ( ) : void
TestStopwords ( ) : void
TestTabNewlineCarriageReturn ( ) : void
TestVersioningOfJavaDateRangeBehavior ( ) : void
TestWildcard ( ) : void

메소드 상세

AssertDateRangeQueryEquals() 공개 메소드

public AssertDateRangeQueryEquals ( QueryParser qp, System field, System startDate, System endDate, System endDateInclusive, Lucene.Net.Documents.DateTools resolution ) : void
qp QueryParser
field System
startDate System
endDate System
endDateInclusive System
resolution Lucene.Net.Documents.DateTools
리턴 void

AssertEscapedQueryEquals() 공개 메소드

public AssertEscapedQueryEquals ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
query System
a Lucene.Net.Analysis.Analyzer
result System
리턴 void

AssertParseException() 공개 메소드

public AssertParseException ( System queryString ) : void
queryString System
리턴 void

AssertQueryEquals() 공개 메소드

public AssertQueryEquals ( QueryParser qp, System field, System query, System result ) : void
qp QueryParser
field System
query System
result System
리턴 void

AssertQueryEquals() 공개 메소드

public AssertQueryEquals ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
query System
a Lucene.Net.Analysis.Analyzer
result System
리턴 void

AssertQueryEqualsDOA() 공개 메소드

public AssertQueryEqualsDOA ( System query, Lucene.Net.Analysis.Analyzer a, System result ) : void
query System
a Lucene.Net.Analysis.Analyzer
result System
리턴 void

AssertWildcardQueryEquals() 공개 메소드

public AssertWildcardQueryEquals ( System query, System result ) : void
query System
result System
리턴 void

AssertWildcardQueryEquals() 공개 메소드

public AssertWildcardQueryEquals ( System query, bool lowercase, System result ) : void
query System
lowercase bool
result System
리턴 void

AssertWildcardQueryEquals() 공개 메소드

public AssertWildcardQueryEquals ( System query, bool lowercase, System result, bool allowLeadingWildcard ) : void
query System
lowercase bool
result System
allowLeadingWildcard bool
리턴 void

GetParser() 공개 메소드

public GetParser ( Lucene.Net.Analysis.Analyzer a ) : QueryParser
a Lucene.Net.Analysis.Analyzer
리턴 QueryParser

GetQuery() 공개 메소드

public GetQuery ( System query, Lucene.Net.Analysis.Analyzer a ) : Lucene.Net.Search.Query
query System
a Lucene.Net.Analysis.Analyzer
리턴 Lucene.Net.Search.Query

GetQueryDOA() 공개 메소드

public GetQueryDOA ( System query, Lucene.Net.Analysis.Analyzer a ) : Lucene.Net.Search.Query
query System
a Lucene.Net.Analysis.Analyzer
리턴 Lucene.Net.Search.Query

TestQueryParser() 공개 메소드

public TestQueryParser ( ) : System
리턴 System

TestQueryParser() 공개 메소드

public TestQueryParser ( System name ) : System
name System
리턴 System

프로퍼티 상세

qpAnalyzer 공개적으로 정적으로 프로퍼티

public static Lucene.Net.Analysis.Analyzer qpAnalyzer
리턴 Lucene.Net.Analysis.Analyzer