C# Class Raven.Database.Indexing.RangeQueryParser

Inheritance: Lucene.Net.QueryParsers.QueryParser
Show file Open project: robashton/ravendb Class Usage Examples

Public Properties

Property Type Description
NumericRangeValue System.Text.RegularExpressions.Regex

Public Methods

Method Description
RangeQueryParser ( Lucene.Net.Util.Version matchVersion, string f, Analyzer a ) : System
ReplaceToken ( string fieldName, string replacement ) : string
SetUntokenized ( string field, string value ) : void

Protected Methods

Method Description
GetFieldQuery ( string field, string queryText ) : Query
GetFuzzyQuery ( string field, string termStr, float minSimilarity ) : Query
GetPrefixQuery ( string field, string termStr ) : Query
GetRangeQuery ( string field, string lower, string upper, bool inclusive ) : Query

Detects numeric range terms and expands range expressions accordingly

GetWildcardQuery ( string field, string termStr ) : Query

Method Details

GetFieldQuery() protected method

protected GetFieldQuery ( string field, string queryText ) : Query
field string
queryText string
return Lucene.Net.Search.Query

GetFuzzyQuery() protected method

protected GetFuzzyQuery ( string field, string termStr, float minSimilarity ) : Query
field string
termStr string
minSimilarity float
return Lucene.Net.Search.Query

GetPrefixQuery() protected method

protected GetPrefixQuery ( string field, string termStr ) : Query
field string
termStr string
return Lucene.Net.Search.Query

GetRangeQuery() protected method

Detects numeric range terms and expands range expressions accordingly
protected GetRangeQuery ( string field, string lower, string upper, bool inclusive ) : Query
field string
lower string
upper string
inclusive bool
return Lucene.Net.Search.Query

GetWildcardQuery() protected method

protected GetWildcardQuery ( string field, string termStr ) : Query
field string
termStr string
return Lucene.Net.Search.Query

RangeQueryParser() public method

public RangeQueryParser ( Lucene.Net.Util.Version matchVersion, string f, Analyzer a ) : System
matchVersion Lucene.Net.Util.Version
f string
a Lucene.Net.Analysis.Analyzer
return System

ReplaceToken() public method

public ReplaceToken ( string fieldName, string replacement ) : string
fieldName string
replacement string
return string

SetUntokenized() public method

public SetUntokenized ( string field, string value ) : void
field string
value string
return void

Property Details

NumericRangeValue public static property

public static Regex,System.Text.RegularExpressions NumericRangeValue
return System.Text.RegularExpressions.Regex