Skip to content

Commit b1c48c3

Browse files
feat (os mapping): add creators to mapping (#40)
1 parent 039c5c3 commit b1c48c3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/config/opensearch_mapping.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@
6363
}
6464
}
6565
},
66+
"creators": {
67+
"type": "nested",
68+
"properties": {
69+
"creatorName": {
70+
"type": "text",
71+
"copy_to": [
72+
"_all_fields",
73+
"_creator"
74+
]
75+
},
76+
"nameIdentifier": {
77+
"type": "keyword"
78+
}
79+
}
80+
},
6681
"subjects": {
6782
"type": "nested",
6883
"properties": {
@@ -129,6 +144,9 @@
129144
"_description": {
130145
"type": "text"
131146
},
147+
"_creator": {
148+
"type": "text"
149+
},
132150
"_subject": {
133151
"type": "text"
134152
},

0 commit comments

Comments
 (0)