Class FieldSearchSort
Sorts the search results by a field in the hits.
Inheritance
FieldSearchSort
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
Properties
|
Edit this page
View Source
By
Declaration
protected override string By { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Export()
Gets a JSON object representing this search sort.
Declaration
public override JObject Export()
Returns
Overrides
|
Edit this page
View Source
Missing(FieldMissing)
Declaration
public FieldSearchSort Missing(FieldMissing missing)
Parameters
Returns
|
Edit this page
View Source
Mode(FieldMode)
Declaration
public FieldSearchSort Mode(FieldMode mode)
Parameters
Returns
|
Edit this page
View Source
Type(FieldType)
Declaration
public FieldSearchSort Type(FieldType type)
Parameters
Returns
Implements