Show / Hide Table of Contents

    Class 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 LOCALE is defined in the QueryConfigHandler it will be used to parse the date, otherwise will be used.

    If a DATE_RESOLUTION is defined and the is not null it will also be used to parse the date value.

    Inheritance
    System.Object
    QueryNodeProcessor
    TermRangeQueryNodeProcessor
    Implements
    IQueryNodeProcessor
    Inherited Members
    QueryNodeProcessor.Process(IQueryNode)
    QueryNodeProcessor.ProcessChildren(IQueryNode)
    QueryNodeProcessor.SetQueryConfigHandler(QueryConfigHandler)
    QueryNodeProcessor.GetQueryConfigHandler()
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class TermRangeQueryNodeProcessor : QueryNodeProcessor, IQueryNodeProcessor

    Constructors

    | Improve this Doc View Source

    TermRangeQueryNodeProcessor()

    Declaration
    public TermRangeQueryNodeProcessor()

    Methods

    | Improve this Doc View Source

    PostProcessNode(IQueryNode)

    Declaration
    protected override IQueryNode PostProcessNode(IQueryNode node)
    Parameters
    Type Name Description
    IQueryNode node
    Returns
    Type Description
    IQueryNode
    Overrides
    QueryNodeProcessor.PostProcessNode(IQueryNode)
    | Improve this Doc View Source

    PreProcessNode(IQueryNode)

    Declaration
    protected override IQueryNode PreProcessNode(IQueryNode node)
    Parameters
    Type Name Description
    IQueryNode node
    Returns
    Type Description
    IQueryNode
    Overrides
    QueryNodeProcessor.PreProcessNode(IQueryNode)
    | Improve this Doc View Source

    SetChildrenOrder(IList<IQueryNode>)

    Declaration
    protected override IList<IQueryNode> SetChildrenOrder(IList<IQueryNode> children)
    Parameters
    Type Name Description
    IList<IQueryNode> children
    Returns
    Type Description
    IList<IQueryNode>
    Overrides
    QueryNodeProcessor.SetChildrenOrder(IList<IQueryNode>)

    Implements

    IQueryNodeProcessor

    See Also

    DATE_RESOLUTION
    LOCALE
    TermRangeQueryNode
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)