C# Class Raven.Database.Indexing.QueryBuilder

显示文件 Open project: robashton/ravendb

Public Methods

Method Description
BuildQuery ( string query, IndexQuery indexQuery, Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper analyzer ) : Query
BuildQuery ( string query, Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper analyzer ) : Query
Unescape ( string term ) : string

Private Methods

Method Description
HandleMethods ( Query query, Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper analyzer ) : Query
HandleMethodsForQueryAndTerm ( Query query, Lucene.Net.Index.Term term ) : Query
PreProcessDateTerms ( string query, RangeQueryParser queryParser ) : string
PreProcessSearchTerms ( string query ) : string
PreProcessUntokenizedTerms ( string query, RangeQueryParser queryParser ) : string

Detects untokenized fields and sets as NotAnalyzed in analyzer

TryHandlingMethodForQueryAndTerm ( string &field, Func &value ) : bool

Method Details

BuildQuery() public static method

public static BuildQuery ( string query, IndexQuery indexQuery, Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper analyzer ) : Query
query string
indexQuery Raven.Abstractions.Data.IndexQuery
analyzer Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper
return Lucene.Net.Search.Query

BuildQuery() public static method

public static BuildQuery ( string query, Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper analyzer ) : Query
query string
analyzer Raven.Database.Indexing.RavenPerFieldAnalyzerWrapper
return Lucene.Net.Search.Query

Unescape() public static method

public static Unescape ( string term ) : string
term string
return string