Theo N. Truong
Theo N. Truong
Thanks @geraintwjones. Which version of OpenSearch Cluster did your client run against?
I've created an issue in the spec, which is the source of the problem, to fix this: https://github.com/opensearch-project/opensearch-api-specification/issues/220
The `master_timeout` and `cluster_manager_timeout` params do exist. Remember to add the time unit. For example `120s` for 120 seconds or `3m` for 3 minutes.
Thank you for bringing this to our attention. Feel free to create a PR if you haven't seen anyone assigned to this issue this.
@PaaPaul What does your `index.mjs` file look like?
It's already been added to https://github.com/opensearch-project/opensearch-js/blob/main/api/new.d.ts#L1966 I'm not sure why we have 2 places to declare types for API methods 😅
@GTRanger Did this [PR](https://github.com/opensearch-project/opensearch-js/pull/674/files) resolve the issue?
@timursaurus You're quick haha! Let's leave this up for a couple of days and see if other students want to pick this up. I see that you've already have quite...
@tejeshreddy of course
That looks like a much bigger lift than anticipated. We will rewrite/convert this to Typescript and it will satisfy that condition then.