Show / Hide Table of Contents

    Class SrndQuery

    Lowest level base class for surround queries

    Inheritance
    System.Object
    SrndQuery
    ComposedQuery
    FieldsQuery
    SimpleTerm
    Namespace: Lucene.Net.QueryParsers.Surround.Query
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public abstract class SrndQuery : object

    Fields

    | Improve this Doc View Source

    TheEmptyLcnQuery

    An empty Lucene query

    Declaration
    public static readonly Search.Query TheEmptyLcnQuery
    Field Value
    Type Description
    Search.Query

    Properties

    | Improve this Doc View Source

    IsFieldsSubQueryAcceptable

    Declaration
    public virtual bool IsFieldsSubQueryAcceptable { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsWeighted

    Declaration
    public virtual bool IsWeighted { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Weight

    Declaration
    public virtual float Weight { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    WeightOperator

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

    WeightString

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

    Methods

    | Improve this Doc View Source

    Clone()

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

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    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
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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
    System.Int32
    | Improve this Doc View Source

    MakeLuceneQueryField(String, BasicQueryFactory)

    Declaration
    public virtual Search.Query MakeLuceneQueryField(string fieldName, BasicQueryFactory qf)
    Parameters
    Type Name Description
    System.String fieldName
    BasicQueryFactory qf
    Returns
    Type Description
    Search.Query
    | Improve this Doc View Source

    MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)

    Declaration
    public abstract Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
    Parameters
    Type Name Description
    System.String fieldName
    BasicQueryFactory qf
    Returns
    Type Description
    Search.Query
    | Improve this Doc View Source

    ToString()

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

    Declaration
    public abstract override string ToString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    WeightToString(StringBuilder)

    Declaration
    protected virtual void WeightToString(StringBuilder r)
    Parameters
    Type Name Description
    StringBuilder r
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)