Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SrndQuery

    Lowest level base class for surround queries

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

    Fields

    | Improve this Doc View Source

    TheEmptyLcnQuery

    An empty Lucene query

    Declaration
    public static readonly Query TheEmptyLcnQuery
    Field Value
    Type Description
    Lucene.Net.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
    Overrides
    System.Object.Equals(System.Object)
    | 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
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    MakeLuceneQueryField(String, BasicQueryFactory)

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

    MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)

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

    ToString()

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

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

    WeightToString(StringBuilder)

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