Browse Source

Docs: Add missing quotes in phrase suggest

Clinton Gormley 10 years ago
parent
commit
d6ba3226d6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/search/suggesters/phrase-suggest.asciidoc

+ 2 - 2
docs/reference/search/suggesters/phrase-suggest.asciidoc

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