Skip to content

Commit 73dda9c

Browse files
committed
Update README.md
Fix multilingual property mapping example
1 parent 90df914 commit 73dda9c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,12 @@ For example:
555555
},
556556
"mappings": {
557557
"properties": {
558-
"title.default" : { "type" : "text" },
559-
"title.en": { "type" : "text" }
558+
"title": {
559+
"properties": {
560+
"default" : { "type" : "text" },
561+
"en": { "type" : "text" }
562+
}
563+
}
560564
}
561565
}
562566
}

0 commit comments

Comments
 (0)