Enums
Enumeration: KlevuSearchSorting
17 min
@klevu/core / docid 7vdpes 8 0tv 43dya7ly / klevusearchsorting table of contents enumeration members docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz docid\ rx8x6nc9hfqbdtoxiitmz 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 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l49 nameasc • nameasc = "name asc" sort the results by the name of each record, in alphabetical order defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l20 namedesc • namedesc = "name desc" sort the results by the name of each record, in alphabetical order defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l24 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 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l39 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 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l44 priceasc • priceasc = "price asc" sort the results by the saleprice value of each record defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l12 pricedesc • pricedesc = "price desc" sort the results by the saleprice value of each record defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l16 ratingasc • ratingasc = "rating asc" sort the results by each record's average rating, if this data has been indexed in your store defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l29 ratingdesc • ratingdesc = "rating desc" sort the results by each record's average rating, if this data has been indexed in your store defined in https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l34 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 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevusearchsorting ts#l8