Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class CoreParser

    Assembles a IQueryBuilder which uses only core Lucene Query objects

    Inheritance
    System.Object
    CoreParser
    CorePlusExtensionsParser
    Implements
    IQueryBuilder
    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.Xml
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class CoreParser : IQueryBuilder

    Constructors

    | Improve this Doc View Source

    CoreParser(Analyzer, QueryParser)

    Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parser

    Declaration
    public CoreParser(Analyzer analyzer, QueryParser parser)
    Parameters
    Type Name Description
    Lucene.Net.Analysis.Analyzer analyzer
    QueryParser parser

    A QueryParser which will be synchronized on during parse calls.

    | Improve this Doc View Source

    CoreParser(String, Analyzer)

    Constructs an XML parser that creates a QueryParser for each UserQuery request.

    Declaration
    public CoreParser(string defaultField, Analyzer analyzer)
    Parameters
    Type Name Description
    System.String defaultField

    The default field name used by QueryParsers constructed for UserQuery tags

    Lucene.Net.Analysis.Analyzer analyzer
    | Improve this Doc View Source

    CoreParser(String, Analyzer, QueryParser)

    Declaration
    protected CoreParser(string defaultField, Analyzer analyzer, QueryParser parser)
    Parameters
    Type Name Description
    System.String defaultField
    Lucene.Net.Analysis.Analyzer analyzer
    QueryParser parser

    Fields

    | Improve this Doc View Source

    m_analyzer

    Declaration
    protected Analyzer m_analyzer
    Field Value
    Type Description
    Lucene.Net.Analysis.Analyzer
    | Improve this Doc View Source

    m_filterFactory

    Declaration
    protected FilterBuilderFactory m_filterFactory
    Field Value
    Type Description
    FilterBuilderFactory
    | Improve this Doc View Source

    m_parser

    Declaration
    protected QueryParser m_parser
    Field Value
    Type Description
    QueryParser
    | Improve this Doc View Source

    m_queryFactory

    Declaration
    protected QueryBuilderFactory m_queryFactory
    Field Value
    Type Description
    QueryBuilderFactory
    | Improve this Doc View Source

    maxNumCachedFilters

    Declaration
    public static int maxNumCachedFilters
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    AddFilterBuilder(String, IFilterBuilder)

    Declaration
    public virtual void AddFilterBuilder(string nodeName, IFilterBuilder builder)
    Parameters
    Type Name Description
    System.String nodeName
    IFilterBuilder builder
    | Improve this Doc View Source

    AddQueryBuilder(String, IQueryBuilder)

    Declaration
    public virtual void AddQueryBuilder(string nodeName, IQueryBuilder builder)
    Parameters
    Type Name Description
    System.String nodeName
    IQueryBuilder builder
    | Improve this Doc View Source

    GetQuery(XmlElement)

    Declaration
    public virtual Query GetQuery(XmlElement e)
    Parameters
    Type Name Description
    System.Xml.XmlElement e
    Returns
    Type Description
    Lucene.Net.Search.Query
    | Improve this Doc View Source

    Parse(Stream)

    Declaration
    public virtual Query Parse(Stream xmlStream)
    Parameters
    Type Name Description
    System.IO.Stream xmlStream
    Returns
    Type Description
    Lucene.Net.Search.Query
    | Improve this Doc View Source

    Parse(TextReader)

    Declaration
    public virtual Query Parse(TextReader xmlTextReader)
    Parameters
    Type Name Description
    System.IO.TextReader xmlTextReader
    Returns
    Type Description
    Lucene.Net.Search.Query
    | Improve this Doc View Source

    Parse(XmlDocument)

    Declaration
    public virtual Query Parse(XmlDocument xmlDocument)
    Parameters
    Type Name Description
    System.Xml.XmlDocument xmlDocument
    Returns
    Type Description
    Lucene.Net.Search.Query
    | Improve this Doc View Source

    Parse(XmlReader)

    Declaration
    public virtual Query Parse(XmlReader xmlReader)
    Parameters
    Type Name Description
    System.Xml.XmlReader xmlReader
    Returns
    Type Description
    Lucene.Net.Search.Query

    Implements

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