Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IQueryNodeProcessor

    An IQueryNodeProcessor is an interface for classes that process a IQueryNode tree.

    The implementor of this class should perform some operation on a query node tree and return the same or another query node tree.

    It also may carry a QueryConfigHandler object that contains configuration about the query represented by the query tree or the collection/index where it's intended to be executed.

    In case there is any QueryConfigHandler associated to the query tree to be processed, it should be set using SetQueryConfigHandler(QueryConfigHandler) before Process(IQueryNode) is invoked.

    Namespace: Lucene.Net.QueryParsers.Flexible.Core.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public interface IQueryNodeProcessor

    Methods

    GetQueryConfigHandler()

    Returns the QueryConfigHandler associated to the query tree if any, otherwise it returns null

    Declaration
    QueryConfigHandler GetQueryConfigHandler()
    Returns
    Type Description
    QueryConfigHandler

    the QueryConfigHandler associated to the query tree if any, otherwise it returns null

    See Also
    IQueryNode
    IQueryNodeProcessor
    QueryConfigHandler

    Process(IQueryNode)

    Processes a query node tree. It may return the same or another query tree. I should never return null.

    Declaration
    IQueryNode Process(IQueryNode queryTree)
    Parameters
    Type Name Description
    IQueryNode queryTree

    tree root node

    Returns
    Type Description
    IQueryNode

    the processed query tree

    See Also
    IQueryNode
    IQueryNodeProcessor
    QueryConfigHandler

    SetQueryConfigHandler(QueryConfigHandler)

    Sets the QueryConfigHandler associated to the query tree.

    Declaration
    void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler)
    Parameters
    Type Name Description
    QueryConfigHandler queryConfigHandler
    See Also
    IQueryNode
    IQueryNodeProcessor
    QueryConfigHandler

    See Also

    IQueryNode
    IQueryNodeProcessor
    QueryConfigHandler
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.