Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class FieldSearchSort

    Sorts the search results by a field in the hits.

    Inheritance
    object
    SearchSortBase
    FieldSearchSort
    Implements
    ISearchSort
    Inherited Members
    SearchSortBase.Decending
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Search.Sort
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class FieldSearchSort : SearchSortBase, ISearchSort

    Constructors

    | Edit this page View Source

    FieldSearchSort(string, FieldType, FieldMode, FieldMissing, bool)

    Declaration
    public FieldSearchSort(string field, FieldType type = FieldType.Auto, FieldMode mode = FieldMode.Default, FieldMissing missing = FieldMissing.Last, bool decending = false)
    Parameters
    Type Name Description
    string field
    FieldType type
    FieldMode mode
    FieldMissing missing
    bool decending

    Properties

    | Edit this page View Source

    By

    Declaration
    protected override string By { get; }
    Property Value
    Type Description
    string
    Overrides
    SearchSortBase.By

    Methods

    | Edit this page View Source

    Export()

    Gets a JSON object representing this search sort.

    Declaration
    public override JObject Export()
    Returns
    Type Description
    JObject
    Overrides
    SearchSortBase.Export()
    | Edit this page View Source

    Missing(FieldMissing)

    Declaration
    public FieldSearchSort Missing(FieldMissing missing)
    Parameters
    Type Name Description
    FieldMissing missing
    Returns
    Type Description
    FieldSearchSort
    | Edit this page View Source

    Mode(FieldMode)

    Declaration
    public FieldSearchSort Mode(FieldMode mode)
    Parameters
    Type Name Description
    FieldMode mode
    Returns
    Type Description
    FieldSearchSort
    | Edit this page View Source

    Type(FieldType)

    Declaration
    public FieldSearchSort Type(FieldType type)
    Parameters
    Type Name Description
    FieldType type
    Returns
    Type Description
    FieldSearchSort

    Implements

    ISearchSort
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.