Commit 405e2ee
committed
fix: remove unsupported name field from DerivedField schema
The DerivedField type in _common.yaml declares a 'name' property and
marks it as required, but OpenSearch does not recognize this field in
mapping definitions. When a client serializes a DerivedField with 'name'
set, the server rejects the request with a mapper_parsing_exception:
[mapper_parsing_exception] Failed to parse mapping: unknown parameter [name]
Remove the 'name' property from DerivedField.properties and from the
required list so the schema matches the actual server behavior.
Signed-off-by: RadhaKrishnan Rajendran <gingeekrishna@gmail.com>
Signed-off-by: Radhakrishnan Pachyappan <radhakrishnan.p@op.tech>1 parent ec27dff commit 405e2ee
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
581 | 579 | | |
582 | 580 | | |
583 | 581 | | |
| |||
591 | 589 | | |
592 | 590 | | |
593 | 591 | | |
594 | | - | |
595 | 592 | | |
596 | 593 | | |
597 | 594 | | |
| |||
0 commit comments