A callback function when searching is triggered, returns searching state (true/false)
localizations
A object for translating strings
Key
Value
suggestFields
Array of objects containing information what to trigger suggestions on
{
name: 'indexfield to to suggest against',
order: integer to determine order of output in list
}
suggestLabels
Object containing labels for the suggestions fields
searchOptions
{
start: search start index,
limit: number of hits to get back,
property: properties to fetch with the search,
filters: array of objects containing sub filters for query,
defaultQuery: the default query to search for,
filterQuery: a filter that will always be added,
sortField: a property that the query will be sorted on,
sortAscending: a boolean to determine sorting order
}
dateOptions
{
properties: [
sortable: boolean if the property is sortable
label: label to output
value: OC date property
]
}