Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class GroupQueryNodeProcessor

    The ISyntaxParser generates query node trees that consider the boolean operator precedence, but Lucene current syntax does not support boolean precedence, so this processor remove all the precedence and apply the equivalent modifier according to the boolean operation defined on an specific query node.

    If there is a GroupQueryNode in the query node tree, the query node tree is not merged with the one above it.

    Example: TODO: describe a good example to show how this processor works
    Inheritance
    object
    GroupQueryNodeProcessor
    Implements
    IQueryNodeProcessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    [Obsolete("Use BooleanQuery2ModifierNodeProcessor instead")]
    public class GroupQueryNodeProcessor : IQueryNodeProcessor

    Constructors

    GroupQueryNodeProcessor()

    The ISyntaxParser generates query node trees that consider the boolean operator precedence, but Lucene current syntax does not support boolean precedence, so this processor remove all the precedence and apply the equivalent modifier according to the boolean operation defined on an specific query node.

    If there is a GroupQueryNode in the query node tree, the query node tree is not merged with the one above it.

    Example: TODO: describe a good example to show how this processor works
    Declaration
    public GroupQueryNodeProcessor()
    See Also
    StandardQueryConfigHandler

    Methods

    GetQueryConfigHandler()

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

    Declaration
    public virtual QueryConfigHandler GetQueryConfigHandler()
    Returns
    Type Description
    QueryConfigHandler

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

    See Also
    StandardQueryConfigHandler

    Process(IQueryNode)

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

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

    tree root node

    Returns
    Type Description
    IQueryNode

    the processed query tree

    See Also
    StandardQueryConfigHandler

    SetQueryConfigHandler(QueryConfigHandler)

    Sets the QueryConfigHandler associated to the query tree.

    Declaration
    public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler)
    Parameters
    Type Name Description
    QueryConfigHandler queryConfigHandler
    See Also
    StandardQueryConfigHandler

    Implements

    IQueryNodeProcessor

    See Also

    StandardQueryConfigHandler
    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.