Show / Hide Table of Contents

    Class DefaultPhraseSlopQueryNodeProcessor

    This processor verifies if PHRASE_SLOP is defined in the QueryConfigHandler. If it is, it looks for every TokenizedPhraseQueryNode and MultiPhraseQueryNode that does not have any SlopQueryNode applied to it and creates an SlopQueryNode and apply to it. The new SlopQueryNode has the same slop value defined in the configuration.

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

    Constructors

    | Improve this Doc View Source

    DefaultPhraseSlopQueryNodeProcessor()

    Declaration
    public DefaultPhraseSlopQueryNodeProcessor()

    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

    Process(IQueryNode)

    Declaration
    public override IQueryNode Process(IQueryNode queryTree)
    Parameters
    Type Name Description
    IQueryNode queryTree
    Returns
    Type Description
    IQueryNode
    Overrides
    QueryNodeProcessor.Process(IQueryNode)
    | Improve this Doc View Source

    ProcessChildren(IQueryNode)

    Declaration
    protected override void ProcessChildren(IQueryNode queryTree)
    Parameters
    Type Name Description
    IQueryNode queryTree
    Overrides
    QueryNodeProcessor.ProcessChildren(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

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