Skip to content

Commit bf24652

Browse files
committed
Added keyword mapping for name field
1 parent a8fe495 commit bf24652

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Joining Queries/add-departments-test-data.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ PUT /department
88
"mappings": {
99
"properties": {
1010
"name": {
11-
"type": "text"
11+
"type": "text",
12+
"fields": {
13+
"keyword": {
14+
"type": "keyword"
15+
}
16+
}
1217
},
1318
"employees": {
1419
"type": "nested"

0 commit comments

Comments
 (0)