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
    System.Object
    GroupQueryNodeProcessor
    Implements
    IQueryNodeProcessor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    [Obsolete("Use BooleanQuery2ModifierNodeProcessor instead")]
    public class GroupQueryNodeProcessor : IQueryNodeProcessor

    Constructors

    | Improve this Doc View Source

    GroupQueryNodeProcessor()

    Declaration
    public GroupQueryNodeProcessor()

    Methods

    | Improve this Doc View Source

    GetQueryConfigHandler()

    Declaration
    public virtual QueryConfigHandler GetQueryConfigHandler()
    Returns
    Type Description
    QueryConfigHandler
    | Improve this Doc View Source

    Process(IQueryNode)

    Declaration
    public virtual IQueryNode Process(IQueryNode queryTree)
    Parameters
    Type Name Description
    IQueryNode queryTree
    Returns
    Type Description
    IQueryNode
    | Improve this Doc View Source

    SetQueryConfigHandler(QueryConfigHandler)

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

    Implements

    IQueryNodeProcessor

    See Also

    StandardQueryConfigHandler
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.