How to execute RemoveAliasMapping in ElasticSearch using JEST -
I am trying to remove nickname mapping for index in ESA.
Here's what I've tried:
// Create Zest Clients Zest Client Client = Factory .get Object (); // Remove RemoveAliasMapping Object Remove Remove Allegations MappingAlassemping = Remove NewAllisMapping Builder ("OldIndex", "Surname") Build (); After creating an removeAliasMapping object, I could not find any way to execute it. If I use the API: the client. Execute , it says: executed in method (action T>) is not applicable for JestClient arguments (RemoveAliasMapping) < P> In addition, I could not locate any other API for executing AliasMapping . Can anyone help me with this here? If possible, please enter an example.
Try it out:
Modifies modified revisions = alias Modified Alize Manufacturer (New Remove Aliased Mapping. Builder ("OldIndex", "Alias"). Build ()). Build (); JestResult Results = client.execute (Modified Oles);
Comments
Post a Comment