forked from opensearch-project/opensearch-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override put_mapping definition to make index name optional. (opensea…
…rch-project#553) Signed-off-by: dblock <[email protected]> Signed-off-by: roma2023 <[email protected]>
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"url": { | ||
"paths": [ | ||
{ | ||
"path": "/{index}/_mapping", | ||
"methods": [ | ||
"POST", | ||
"PUT" | ||
], | ||
"parts": { | ||
"index": { | ||
"type": "string", | ||
"description": "Comma-separated list of indices; use `_all` or empty string to perform the operation on all indices.", | ||
"required": false | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |