Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Search

Hierarchy

  • Search

Index

Properties

Optional fields

fields: string[]

product fields to request auto-generated from structure if not provided

Optional maxRefinements

maxRefinements: number

maximum number of refinements to show in a single section

Optional overrides

overrides: SearchOverrides

override any computed request value

Optional pageSize

pageSize: ValueOptions<number>

number of products to request or sort options and default

redirectSingleResult

redirectSingleResult: boolean

redirect to the details page of product if there is only 1 product result for a search

Optional sort

sort: ValueOptions<object>

sorting of products or sort options and default

Optional useDefaultCollection

useDefaultCollection: boolean

reset the collection to the default collection on a search

Generated using TypeDoc