Hooks #
setup
#
Method executed when creating a new engine on an index
This can be used to create collections.
setup (index: string): Promise<void>
Arguments | Type | Description |
---|---|---|
index | string | Index name to setup |
dispose
#
Method executed when deleting an engine from an index
This can be used to delete collections.
dispose (index: string): Promise<void>
Arguments | Type | Description |
---|---|---|
index | string | Index name to dispose |
Edit this page on Github(opens new window)