OptionalautocompleteOptionaldecodeQuery?: booleanOptionalendpointUrl?: stringOptionalminCharacterCount?: numberOptionalrecommendationsEnabled?: booleanOptionalbreakpointsThe unique ID for your installation found in the HawkSearch admin
OptionalcomponentsSpecifies component-specific configuration options
OptionalcssSpecifies which styles should be loaded for each component
OptionalcustomStyles?: string | string[]One or more style sets to be loaded. This can be either a URL to an external stylesheet, the ID of a template element wrapping around a style element, or a string containing CSS rules.
OptionaldefaultStyles?: booleanSpecifies whether the default stylesheet should be loaded. This should generally be true except for with completely custom interfaces.
OptionaldebugOptionalfieldMap item attributes to common object properties
OptionalformattingSpecifies how values should be formatted for different cultures
OptionalindexSpecify an index to query rather than the default
OptionalplaceholderThe URL of an image to be loaded whenever an image fails to load for a search result item
OptionalrecommendationsOptionalsearchOptionaldecodeFacetValues?: booleanOptionaldecodeQuery?: booleanOptionaldesktopOnlyBanner?: booleanOptionalendpointUrl?: stringOptionalfacetExclusionPrefix?: stringOptionalitemTypes?: { default: ItemType; productValues?: string[] }Specifies how search results should be classified
If the value a search result item is missing a value for the field mapped to fieldMappings.type, this value will be assumed.
'content'
OptionalproductValues?: string[]OptionalkValue?: numberSpecifies a kValue for Concept and Image search
OptionalqueryStringMappings?: {Specifies which query string parameters are used
OptionaldisableSpellcheck?: stringOptionalpage?: stringOptionalpageSize?: stringOptionalquery?: stringOptionalrequestType?: RequestTypeOptionalsearchWithin?: stringOptionalsort?: stringOptionalurl?: stringOptionalseoOptionalshadowSpecifies whether components should be rendered in the Shadow DOM. This is highly recommended to avoid CSS conflicts.
true
OptionaltrackingOptionalurlIf your data contains relative URLs, these values can be prepended to the values to convert them to absolute URLs
OptionaluseSpecifies whether components should be rendered with custom style
OptionalvariantsOptionalbaseFacetCountOnVariants?: booleanOptionalenabled?: booleanOptionalfieldMappings?: VariantFieldMappingsMap item attributes to common object properties
OptionalfieldPrefix?: stringWhen specified, this prefix is removed from the attributes collection on variant items. For example, if a value of 'child_' is used and HawkSearch returns a field named 'child_color', it will be transformed to 'color'.
OptionaltrackUsingVariant?: boolean
Whether to automatically URI decode the search query value. Runs recursively until value is fully decoded. For example,
Test%2520Valuewould becomeTest Value.Default Value
true