* Updates a search index by replacing the existing index definition with the provided definition. * * @param name - The name of the search index to update. * @param definition - The new search index definition. * * @remarks Only available when used against a 7.0+ Atlas cluster.
(name: string, definition: Document)
| 1306 | * @remarks Only available when used against a 7.0+ Atlas cluster. |
| 1307 | */ |
| 1308 | async updateSearchIndex(name: string, definition: Document): Promise<void> { |
| 1309 | return await executeOperation( |
| 1310 | this.client, |
| 1311 | new UpdateSearchIndexOperation(this as TODO_NODE_3286, name, definition) |
| 1312 | ); |
| 1313 | } |
| 1314 | } |
no test coverage detected