C# 클래스 Lucene.Net.QueryParsers.Flexible.Standard.TestStandardQP

Tests QueryParser.
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
GetParser ( Analyzer a ) : StandardQueryParser
GetParserConfig ( Analyzer a ) : ICommonQueryParserConfiguration
GetQuery ( String query, Analyzer a ) : Query
GetQuery ( String query, ICommonQueryParserConfiguration cqpC ) : Query
IsQueryParserException ( Exception exception ) : bool
Parse ( String query, StandardQueryParser qp ) : Query
SetAnalyzeRangeTerms ( ICommonQueryParserConfiguration cqpC, bool value ) : void
SetAutoGeneratePhraseQueries ( ICommonQueryParserConfiguration cqpC, bool value ) : void
SetDateResolution ( ICommonQueryParserConfiguration cqpC, string field, Lucene.Net.Documents.DateTools value ) : void
SetDefaultOperatorAND ( ICommonQueryParserConfiguration cqpC ) : void
SetDefaultOperatorOR ( ICommonQueryParserConfiguration cqpC ) : void

비공개 메소드들

메소드 설명
TestAutoGeneratePhraseQueriesOn ( ) : void
TestBooleanQuery ( ) : void
TestBoost ( ) : void
TestCJK ( ) : void
TestCJKBoostedPhrase ( ) : void
TestCJKBoostedTerm ( ) : void
TestCJKPhrase ( ) : void
TestCJKSloppyPhrase ( ) : void
TestCJKTerm ( ) : void
TestCollatedRange ( ) : void
TestDateRange ( ) : void
TestDefaultOperator ( ) : void
TestDistanceAsEditsParsing ( ) : void
TestEscaped ( ) : void
TestEscapedVsQuestionMarkAsWildcard ( ) : void
TestEscapedWildcard ( ) : void
TestException ( ) : void
TestLeadingWildcardType ( ) : void
TestMatchAllDocs ( ) : void
TestMatchAllQueryParsing ( ) : void
TestNestedAndClausesFoo ( ) : void
TestNewFieldQuery ( ) : void
TestNumber ( ) : void
TestOperatorVsWhitespace ( ) : void
TestParseWildcardAndPhraseQueries ( ) : void
TestPhraseQueryPositionIncrements ( ) : void
TestPhraseQueryToString ( ) : void
TestPositionIncrement ( ) : void
TestPositionIncrements ( ) : void
TestPrecedence ( ) : void
TestPunct ( ) : void
TestQPA ( ) : void
TestQueryStringEscaping ( ) : void
TestRange ( ) : void
TestRangeWithPhrase ( ) : void
TestRegexps ( ) : void
TestSimple ( ) : void
TestSimpleDAO ( ) : void
TestSlop ( ) : void
TestStarParsing ( ) : void
TestStopwords ( ) : void
TestTabNewlineCarriageReturn ( ) : void
TestWildcard ( ) : void

메소드 상세

GetParser() 공개 메소드

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

GetParserConfig() 공개 메소드

public GetParserConfig ( Analyzer a ) : ICommonQueryParserConfiguration
a Lucene.Net.Analysis.Analyzer
리턴 ICommonQueryParserConfiguration

GetQuery() 공개 메소드

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

GetQuery() 공개 메소드

public GetQuery ( String query, ICommonQueryParserConfiguration cqpC ) : Query
query String
cqpC ICommonQueryParserConfiguration
리턴 Lucene.Net.Search.Query

IsQueryParserException() 공개 메소드

public IsQueryParserException ( Exception exception ) : bool
exception System.Exception
리턴 bool

Parse() 공개 메소드

public Parse ( String query, StandardQueryParser qp ) : Query
query String
qp StandardQueryParser
리턴 Lucene.Net.Search.Query

SetAnalyzeRangeTerms() 공개 메소드

public SetAnalyzeRangeTerms ( ICommonQueryParserConfiguration cqpC, bool value ) : void
cqpC ICommonQueryParserConfiguration
value bool
리턴 void

SetAutoGeneratePhraseQueries() 공개 메소드

public SetAutoGeneratePhraseQueries ( ICommonQueryParserConfiguration cqpC, bool value ) : void
cqpC ICommonQueryParserConfiguration
value bool
리턴 void

SetDateResolution() 공개 메소드

public SetDateResolution ( ICommonQueryParserConfiguration cqpC, string field, Lucene.Net.Documents.DateTools value ) : void
cqpC ICommonQueryParserConfiguration
field string
value Lucene.Net.Documents.DateTools
리턴 void

SetDefaultOperatorAND() 공개 메소드

public SetDefaultOperatorAND ( ICommonQueryParserConfiguration cqpC ) : void
cqpC ICommonQueryParserConfiguration
리턴 void

SetDefaultOperatorOR() 공개 메소드

public SetDefaultOperatorOR ( ICommonQueryParserConfiguration cqpC ) : void
cqpC ICommonQueryParserConfiguration
리턴 void