Browse Source

Update completion-suggest.asciidoc

Corrected "length" in result output

Closes #13011
Clinton Gormley 10 years ago
parent
commit
fb632d5dbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/search/suggesters/completion-suggest.asciidoc

+ 1 - 1
docs/reference/search/suggesters/completion-suggest.asciidoc

@@ -165,7 +165,7 @@ curl -X POST 'localhost:9200/music/_suggest?pretty' -d '{
   "song-suggest" : [ {
     "text" : "n",
     "offset" : 0,
-    "length" : 4,
+    "length" : 1,
     "options" : [ {
       "text" : "Nirvana - Nevermind",
       "score" : 34.0, "payload" : {"artistId":2321}