Search
Preparing search index...
The search index is not available
couchbase
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
couchbase
SearchSort
Class SearchSort
Provides the ability to specify sorting for a search query.
Hierarchy
SearchSort
ScoreSearchSort
IdSearchSort
FieldSearchSort
GeoDistanceSearchSort
Index
Constructors
constructor
Properties
_data
Methods
toJSON
field
geo
Distance
id
score
Constructors
constructor
new
Search
Sort
(
data
:
any
)
:
SearchSort
Parameters
data:
any
Returns
SearchSort
Properties
Protected
_data
_data
:
any
Methods
toJSON
toJSON
(
)
:
any
Returns
any
Static
field
field
(
field
:
string
)
:
FieldSearchSort
Parameters
field:
string
Returns
FieldSearchSort
Static
geo
Distance
geo
Distance
(
field
:
string
, lat
:
number
, lon
:
number
)
:
GeoDistanceSearchSort
Parameters
field:
string
lat:
number
lon:
number
Returns
GeoDistanceSearchSort
Static
id
id
(
)
:
IdSearchSort
Returns
IdSearchSort
Static
score
score
(
)
:
ScoreSearchSort
Returns
ScoreSearchSort
Exports
Search
Sort
constructor
_data
toJSON
field
geo
Distance
id
score
Generated using
TypeDoc
Provides the ability to specify sorting for a search query.