Modules
klevulistfilterstoreturn
2min
ƭ klevulistfilterstoreturn object type declaration name type description enabled boolean whether or not to return any filters with this query this defaults to false so no filters are returned unless requested exclude? string \[] this is the list of filter keys that you do not want klevu search to include in the response if a filter is specified in both include and exclude lists, include will take precedence include? string \[] this is the list of filter keys that you would like to retrieve as filters a filter may also not be returned if there aren't enough applicable records in the result set options { limit? number ; mincount? number ; order klevufilterorder enums/klevufilterorder md } options limit? number specify the maximum number of options to be included per filter options mincount? number if the parameter mincount is present with a positive number, only the options with an option count equal to or higher than the mincount are included options order klevufilterorder enums/klevufilterorder md a value of 'freq' will sort options based on the number of records each option has in the result set 'index' will sort the options alphabetically rangefiltersettings? klevurangefiltersettings docid\ qejqx8vypdhy8n1lpogu \[] when minmax is false, this setting allows you to retrieve range filters for use with numeric values such as price, so you can display bands of 0 99, 100 199, etc or a price slider by default all attributes submitted to klevu are indexed as string attributes, which means they cannot be used as range filters the product sale price field is the only exception to this rule, which is filtered using the key klevu price if you have explicitly requested and klevu has approved that certain attributes be indexed as numerical attributes, you can also retrieve those as range filters defined in models/klevulistfilter ts 4 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/models/klevulistfilter ts#l4