Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BooleanQueryNodeBuilder

    Builds a Lucene.Net.Search.BooleanQuery object from a BooleanQueryNode object. Every children in the BooleanQueryNode object must be already tagged using QUERY_TREE_BUILDER_TAGID with a Lucene.Net.Search.Query object.

    It takes in consideration if the children is a ModifierQueryNode to define the Lucene.Net.Search.BooleanClause.

    Inheritance
    object
    BooleanQueryNodeBuilder
    Implements
    IStandardQueryBuilder
    IQueryBuilder<Query>
    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.Builders
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class BooleanQueryNodeBuilder : IStandardQueryBuilder, IQueryBuilder<Query>

    Constructors

    BooleanQueryNodeBuilder()

    Builds a Lucene.Net.Search.BooleanQuery object from a BooleanQueryNode object. Every children in the BooleanQueryNode object must be already tagged using QUERY_TREE_BUILDER_TAGID with a Lucene.Net.Search.Query object.

    It takes in consideration if the children is a ModifierQueryNode to define the Lucene.Net.Search.BooleanClause.

    Declaration
    public BooleanQueryNodeBuilder()

    Methods

    Build(IQueryNode)

    Builds some kind of object from a query tree.

    Declaration
    public virtual Query Build(IQueryNode queryNode)
    Parameters
    Type Name Description
    IQueryNode queryNode

    the query tree root node

    Returns
    Type Description
    Query

    some object generated from the query tree

    Implements

    IStandardQueryBuilder
    IQueryBuilder<TQuery>
    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.