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
    Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class GroupQueryNodeProcessor : object, 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 © 2020 Licensed to the Apache Software Foundation (ASF)