Constructor
new Indexer(params)
Handle content indices in an S3 bucket
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
params | Object | Properties
|
- Source
Classes
Methods
(async) createIndices(params)
Create index files
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
params | Object | Properties
|
- Source
(async) getIndex(params)
Get an index file
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params | Object | Properties
|
- Since
- 1.17.0
- Source
(async) listIndices(params)
List indices in a given domain
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params | Object | Properties
|
- Source
(async) patchIndex(params)
Patch an index file - add new item to it or remove an existing item. This method works by uploading a patch file and then running a process to patch all the relevant index files. If it detects a lockfile (a patching process is running) it will sleep for a short time and then try again. Given this, you probably don't want to 'await' this in your code as it could take a while to run; depending on how many parallel patch operations are run.
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params | Object | Properties
|
- Source