C# Class Lucene.Net.QueryParsers.Flexible.Standard.Processors.TermRangeQueryNodeProcessor

This processors process TermRangeQueryNodes. It reads the lower and upper bounds value from the TermRangeQueryNode object and try to parse their values using a dateFormat. If the values cannot be parsed to a date value, it will only create the TermRangeQueryNode using the non-parsed values. If a ConfigurationKeys.LOCALE is defined in the QueryConfigHandler it will be used to parse the date, otherwise CultureInfo.CurrentCulture will be used. If a ConfigurationKeys.DATE_RESOLUTION is defined and the DateTools.Resolution is not null it will also be used to parse the date value.
Inheritance: QueryNodeProcessorImpl
Mostrar archivo Open project: apache/lucenenet

Public Methods

Method Description
TermRangeQueryNodeProcessor ( ) : Lucene.Net.Documents

Protected Methods

Method Description
PostProcessNode ( IQueryNode node ) : IQueryNode
PreProcessNode ( IQueryNode node ) : IQueryNode
SetChildrenOrder ( IList children ) : IList

Method Details

PostProcessNode() protected method

protected PostProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
return IQueryNode

PreProcessNode() protected method

protected PreProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
return IQueryNode

SetChildrenOrder() protected method

protected SetChildrenOrder ( IList children ) : IList
children IList
return IList

TermRangeQueryNodeProcessor() public method

public TermRangeQueryNodeProcessor ( ) : Lucene.Net.Documents
return Lucene.Net.Documents