* Creates multiple search indexes for the current collection. * * @param descriptions - An array of `SearchIndexDescription`s for the new search indexes. * @returns A promise that resolves to an array of the newly created search index names. * * @remarks Only available when used again
(descriptions: SearchIndexDescription[])
| 1277 | * @returns |
| 1278 | */ |
| 1279 | async createSearchIndexes(descriptions: SearchIndexDescription[]): Promise<string[]> { |
| 1280 | return await executeOperation( |
| 1281 | this.client, |
| 1282 | new CreateSearchIndexesOperation(this as TODO_NODE_3286, descriptions) |
| 1283 | ); |
| 1284 | } |
| 1285 | |
| 1286 | /** |
| 1287 | * Deletes a search index by index name. |
no test coverage detected