Docs: Add missing quotes in phrase suggest

This commit is contained in:
Clinton Gormley 2015-06-19 16:55:34 +02:00
parent 00cc16cc6a
commit d6ba3226d6

View File

@ -22,7 +22,7 @@ request:
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
curl -XPOST 'localhost:9200/_search' -d { curl -XPOST 'localhost:9200/_search' -d '{
"suggest" : { "suggest" : {
"text" : "Xor the Got-Jewel", "text" : "Xor the Got-Jewel",
"simple_phrase" : { "simple_phrase" : {
@ -45,7 +45,7 @@ curl -XPOST 'localhost:9200/_search' -d {
} }
} }
} }
} }'
-------------------------------------------------- --------------------------------------------------
The response contains suggestions scored by the most likely spell The response contains suggestions scored by the most likely spell