Enums

Enumeration: KlevuSearchSorting

17min

/ Exports / KlevuSearchSorting

Table of contents

Enumeration Members

Enumeration Members

AdvancedSorting

AdvancedSorting = "ADVANCED_SORT"

Advanced sorting method that requires list of keys to be sorted with. Recommended use advancedSorting() modifier instead of specifying this

Defined in



NameAsc

NameAsc = "NAME_ASC"

Sort the results by the name of each record, in alphabetical order.

Defined in



NameDesc

NameDesc = "NAME_DESC"

Sort the results by the name of each record, in alphabetical order.

Defined in



NewArrivalAsc

NewArrivalAsc = "NEW_ARRIVAL_ASC"

Sort your records based on their published date. Please see support article for important information about sorting by newness.

Defined in



NewArrivalDesc

NewArrivalDesc = "NEW_ARRIVAL_DESC"

Sort your records based on their published date. Please see support article for important information about sorting by newness.

Defined in



PriceAsc

PriceAsc = "PRICE_ASC"

Sort the results by the salePrice value of each record.

Defined in



PriceDesc

PriceDesc = "PRICE_DESC"

Sort the results by the salePrice value of each record.

Defined in



RatingAsc

RatingAsc = "RATING_ASC"

Sort the results by each record's average rating, if this data has been indexed in your store.

Defined in



RatingDesc

RatingDesc = "RATING_DESC"

Sort the results by each record's average rating, if this data has been indexed in your store.

Defined in



Relevance

Relevance = "RELEVANCE"

This is the default sort order, which uses a combination of Klevu A.I. and your own merchandising configuration to determine the order of the results. Please read this article for more information about how Klevu ranks and orders the results.

Defined in