Skip to content

Commit dc70bf6

Browse files
authored
Revert "Add false_allow_templates as a dynamic mapping option (opensearch-project#18825)" (opensearch-project#19061)
This reverts commit 9f28ef8. Lots of test failures blocking PRs for the newly added yaml test. Signed-off-by: Andrew Ross <[email protected]>
1 parent ccc4112 commit dc70bf6

File tree

8 files changed

+19
-938
lines changed

8 files changed

+19
-938
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
### Added
88
- Expand fetch phase profiling to support inner hits and top hits aggregation phases ([##18936](https://github.com/opensearch-project/OpenSearch/pull/18936))
99
- Add temporal routing processors for time-based document routing ([#18920](https://github.com/opensearch-project/OpenSearch/issues/18920))
10-
- The dynamic mapping parameter supports false_allow_templates ([#18825](https://github.com/opensearch-project/OpenSearch/pull/18825))
1110

1211

1312
### Changed

rest-api-spec/src/main/resources/rest-api-spec/test/index/111_false_allow_templates.yml

Lines changed: 0 additions & 165 deletions
This file was deleted.

rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/all_path_options.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -190,34 +190,3 @@ setup:
190190

191191
- match: {test_index1.mappings.dynamic: strict_allow_templates}
192192
- match: {test_index1.mappings.properties.test1.type: text}
193-
194-
---
195-
"post a mapping with setting dynamic to false_allow_templates":
196-
- skip:
197-
version: " - 3.2.99"
198-
reason: "introduced in 3.3.0"
199-
- do:
200-
indices.put_mapping:
201-
index: test_index1
202-
body:
203-
dynamic: false_allow_templates
204-
dynamic_templates: [
205-
{
206-
strings: {
207-
"match": "foo*",
208-
"match_mapping_type": "string",
209-
"mapping": {
210-
"type": "keyword"
211-
}
212-
}
213-
}
214-
]
215-
properties:
216-
test1:
217-
type: text
218-
219-
- do:
220-
indices.get_mapping: {}
221-
222-
- match: {test_index1.mappings.dynamic: false_allow_templates}
223-
- match: {test_index1.mappings.properties.test1.type: text}

0 commit comments

Comments
 (0)