Skip to content

Commit f32051f

Browse files
fix: use setting instead of (elastic#115193)
1 parent 05fc23a commit f32051f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/reference/mapping/types/binary.asciidoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,16 @@ Synthetic source may sort `binary` values in order of their byte representation.
6868
----
6969
PUT idx
7070
{
71+
"settings": {
72+
"index": {
73+
"mapping": {
74+
"source": {
75+
"mode": "synthetic"
76+
}
77+
}
78+
}
79+
},
7180
"mappings": {
72-
"_source": { "mode": "synthetic" },
7381
"properties": {
7482
"binary": { "type": "binary", "doc_values": true }
7583
}

0 commit comments

Comments
 (0)