Show / Hide Table of Contents

    Class ExtensionQuery

    ExtensionQuery holds all query components extracted from the original query string like the query field and the extension query string.

    Inheritance
    System.Object
    ExtensionQuery
    Namespace: Lucene.Net.QueryParsers.Ext
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class ExtensionQuery : object

    Constructors

    | Improve this Doc View Source

    ExtensionQuery(QueryParser, String, String)

    Creates a new ExtensionQuery

    Declaration
    public ExtensionQuery(QueryParser topLevelParser, string field, string rawQueryString)
    Parameters
    Type Name Description
    QueryParser topLevelParser
    System.String field

    the query field

    System.String rawQueryString

    the raw extension query string

    Properties

    | Improve this Doc View Source

    Field

    Returns the query field

    Declaration
    public virtual string Field { get; protected set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RawQueryString

    Returns the raw extension query string

    Declaration
    public virtual string RawQueryString { get; protected set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TopLevelParser

    Returns the top level parser which created this ExtensionQuery

    Declaration
    public virtual QueryParser TopLevelParser { get; protected set; }
    Property Value
    Type Description
    QueryParser
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)