You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously the usage was: .client.Indices.PutSettings().Index(index).Request(settings).Do(ctx)
Now .Index() has changed to accept index *types.IndexSettings instead of index string and no method to set the index name exists.
There was a similar change to PutMappings in the same commit but there the index name can be set via the PutMappings(index) call after the .Index() method changed, which makes sense, but a similar change was not done for PutSettings().
The text was updated successfully, but these errors were encountered:
gannett-ggreer
changed the title
Indices.PutSettings can't specify index name after commit 537d09014a37fd1288919bd43eb7f1ab1bd374ae
Indices.PutSettings can't specify index name in v8.11.0
Nov 16, 2023
Possibly related to commit: 537d090
Previously the usage was:
.client.Indices.PutSettings().Index(index).Request(settings).Do(ctx)
Now
.Index()
has changed to acceptindex *types.IndexSettings
instead ofindex string
and no method to set the index name exists.There was a similar change to
PutMappings
in the same commit but there the index name can be set via thePutMappings(index)
call after the.Index()
method changed, which makes sense, but a similar change was not done forPutSettings()
.The text was updated successfully, but these errors were encountered: