Type aliases
AutocompleteOptions
AutocompleteOptions: { highlight?: undefined | false | true; language?: undefined | string; prefixThreshold?: undefined | number }
Type declaration
-
Optional highlight?: undefined | false | true
-
Optional language?: undefined | string
-
Optional prefixThreshold?: undefined | number
DidYouMeanClasses
DidYouMeanClasses: { element: string[]; wrapper: string[] }
Type declaration
-
element: string[]
-
wrapper: string[]
FacetConfig
FacetConfig: { baseName: string; multiSelect: boolean }
Type declaration
-
baseName: string
-
multiSelect: boolean
FacetCount
Facet
Count: { count: number; filterQuery: string; value: FacetValue }
Type declaration
-
count: number
-
filterQuery: string
-
FacetValue
FacetValue: string | number | boolean
FetchClientOptions
Fetch
ClientOptions: { autocomplete?: undefined | false | true; customParams?: URLParam[]; searchTerm?: undefined | string }
Type declaration
-
Optional autocomplete?: undefined | false | true
-
Optional customParams?: URLParam[]
-
Optional searchTerm?: undefined | string
GroupByField
Group
ByField: { groups: GroupByValue[]; matches: number; name: string }
Type declaration
-
-
matches: number
-
name: string
GroupByValue
Group
ByValue: { numRows: number; results: Result[]; value: string }
Type declaration
-
numRows: number
-
-
value: string
Highlighting
Highlighting: {}
HighlightingData
HighlightingData: {}
PaginationClasses
PaginationClasses: { currentPage: string[]; nextButton: string[]; pageButton: string[]; pagination: string[]; prevButton: string[] }
Type declaration
-
currentPage: string[]
-
nextButton: string[]
-
pageButton: string[]
-
pagination: string[]
-
prevButton: string[]
PaginationData
PaginationData: { pageCount: number; pageNumber: number; pageSize: number }
Type declaration
-
pageCount: number
-
pageNumber: number
-
pageSize: number
RenderDidYouMeanFunction
RenderDidYouMeanFunction: (value: string) => string
Type declaration
-
-
Parameters
Returns string
RenderPaginationFunction
RenderPaginationFunction: (value: string) => string
Type declaration
-
-
Parameters
Returns string
RequestParameters
RequestParameters: {}
Result
Result: { id: string; link: string; title: string[] }
Type declaration
-
[key: string]: string | number | string[] | number[]
-
id: string
-
link: string
-
title: string[]
SearchResultClasses
SearchResultClasses: { element: string[]; wrapper: string[] }
Type declaration
-
element: string[]
-
wrapper: string[]
SmartSearchOptions
Type declaration
-
Optional apiEndpoint?: undefined | string
-
-
Optional customParams?: URLParam[]
SmartSearchResponse
Type declaration
-
-
didYouMean: string[]
-
explainData: object
-
-
-
fragSize: number
-
-
-
numRows: number
-
requestParameters: {}
-
responseTime: number
-
-
rows: number
TemplateFunction
Type declaration
-
-
Parameters
Returns string
Indicates whether the prefix should be highlighted in the result or not.