Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SrndQuery

    Lowest level base class for surround queries

    Inheritance
    object
    SrndQuery
    ComposedQuery
    FieldsQuery
    SimpleTerm
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.QueryParsers.Surround.Query
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public abstract class SrndQuery

    Fields

    TheEmptyLcnQuery

    An empty Lucene query

    Declaration
    public static readonly Query TheEmptyLcnQuery
    Field Value
    Type Description
    Query

    Properties

    IsFieldsSubQueryAcceptable

    Lowest level base class for surround queries

    Declaration
    public virtual bool IsFieldsSubQueryAcceptable { get; }
    Property Value
    Type Description
    bool

    IsWeighted

    Lowest level base class for surround queries

    Declaration
    public virtual bool IsWeighted { get; }
    Property Value
    Type Description
    bool

    Weight

    Lowest level base class for surround queries

    Declaration
    public virtual float Weight { get; set; }
    Property Value
    Type Description
    float

    WeightOperator

    Lowest level base class for surround queries

    Declaration
    public virtual string WeightOperator { get; }
    Property Value
    Type Description
    string

    WeightString

    Lowest level base class for surround queries

    Declaration
    public virtual string WeightString { get; }
    Property Value
    Type Description
    string

    Methods

    Clone()

    Shallow clone. Subclasses must override this if they need to clone any members deeply,

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    object

    Equals(object)

    For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    MakeLuceneQueryField(string, BasicQueryFactory)

    Lowest level base class for surround queries

    Declaration
    public virtual Query MakeLuceneQueryField(string fieldName, BasicQueryFactory qf)
    Parameters
    Type Name Description
    string fieldName
    BasicQueryFactory qf
    Returns
    Type Description
    Query

    MakeLuceneQueryFieldNoBoost(string, BasicQueryFactory)

    Lowest level base class for surround queries

    Declaration
    public abstract Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
    Parameters
    Type Name Description
    string fieldName
    BasicQueryFactory qf
    Returns
    Type Description
    Query

    ToString()

    This method is used by GetHashCode() and Equals(object), see LUCENE-2945.

    Declaration
    public override abstract string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    WeightToString(StringBuilder)

    Lowest level base class for surround queries

    Declaration
    protected virtual void WeightToString(StringBuilder r)
    Parameters
    Type Name Description
    StringBuilder r
    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.