Skip to content

Commit

Permalink
update elastic mapping of item subject field [SDESK-7268] (#2601)
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored Jun 13, 2024
1 parent b9f15f1 commit b51199e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion superdesk/metadata/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,12 @@ class Formats(NamedTuple):
},
"subject": {
"type": "list",
"mapping": {"type": "object", "dynamic": False, "properties": {"qcode": not_analyzed, "name": not_analyzed}},
"mapping": {
"type": "nested",
"include_in_parent": True,
"dynamic": False,
"properties": {"qcode": not_analyzed, "name": not_analyzed, "scheme": not_analyzed},
},
},
"genre": {
"type": "list",
Expand Down

0 comments on commit b51199e

Please sign in to comment.