SearchService
constructor
Parameters
__namedParameters
InjectedDependenciesRequiredoptions
anyRequiredProperties
Accessors
options
Returns
Record
Record<string, unknown>RequiredMethods
addDocuments
Parameters
indexName
stringRequireddocuments
unknownRequiredtype
stringRequiredReturns
Promise
Promise<void>RequiredcreateIndex
Parameters
indexName
stringRequiredoptions
unknownRequiredReturns
Promise
Promise<void>RequireddeleteAllDocuments
Parameters
indexName
stringRequiredReturns
Promise
Promise<void>RequireddeleteDocument
Parameters
indexName
stringRequireddocument_id
string | numberRequiredReturns
Promise
Promise<void>RequiredgetIndex
Parameters
indexName
stringRequiredReturns
Promise
Promise<void>RequiredreplaceDocuments
Parameters
indexName
stringRequireddocuments
unknownRequiredtype
stringRequiredReturns
Promise
Promise<void>Requiredsearch
Parameters
indexName
stringRequiredquery
unknownRequiredoptions
unknownRequiredReturns
Promise
Promise<object>RequiredupdateSettings
Parameters
indexName
stringRequiredsettings
unknownRequiredReturns
Promise
Promise<void>RequiredWas this section helpful?