SearchService
constructor
Parameters
__namedParameters
InjectedDependenciesRequiredoptions
anyRequiredProperties
Methods
createIndex
Parameters
indexName
stringRequiredoptions
unknownRequiredReturns
Promise
Promise<void>RequiredgetIndex
Parameters
indexName
stringRequiredReturns
Promise
Promise<void>RequiredaddDocuments
Parameters
indexName
stringRequireddocuments
unknownRequiredtype
stringRequiredReturns
Promise
Promise<void>RequiredreplaceDocuments
Parameters
indexName
stringRequireddocuments
unknownRequiredtype
stringRequiredReturns
Promise
Promise<void>RequireddeleteDocument
Parameters
indexName
stringRequireddocument_id
string | numberRequiredReturns
Promise
Promise<void>RequireddeleteAllDocuments
Parameters
indexName
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?