couchbase
Preparing search index...
SearchSort
Class SearchSort
Provides the ability to specify sorting for a search query.
Hierarchy (
View Summary
)
SearchSort
ScoreSearchSort
IdSearchSort
FieldSearchSort
GeoDistanceSearchSort
Index
Constructors
constructor
Properties
_data
Methods
toJSON
field
geo
Distance
id
score
Constructors
constructor
new
SearchSort
(
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
geoDistance
(
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_data
Methods
toJSON
field
geo
Distance
id
score
couchbase
Loading...
Provides the ability to specify sorting for a search query.