OrderByDefinition
- fieldType: string · Fieldrequired
Name of the field to order by. You can sort by any numeric and boolean fields in your Product catalog, or use one of any special fields:
- _personalization_score: the score that rates the degree of affinity between a pair of user and product from Miso's personalization algorithm.
- _search_score: the score that rates the degree of search keyword matches to a product's catalog.
- _boosting_score: the score that rates the degree a Product is boosted by your boosting query.
- defaultType: number · Default Value
_value The default value to use when the scores do not exist for a Product
- geoType: object · Geo
The geo point to compute the
_geo_distancevariable against. This is only required if_geo_distanceis present in the formula.- latType: number · Latmin:-90max:90required
Latitude of the center point, should between 90 and -90
- lonType: number · Lonmin:-180max:180required
Longitude of the center point, should between 180 and -180
- orderenumvalues
- desc
- asc
- tieType: object · Tie Breaker
_breaker - thresholdType: number · Threshold
- typeenumconst:relative_differencevalues
- relative
_difference
