Browse Source

Stabelize tests in phrase-suggest.asciidoc

Simon Willnauer 9 years ago
parent
commit
74184cb1b0
1 changed files with 3 additions and 4 deletions
  1. 3 4
      docs/reference/search/suggesters/phrase-suggest.asciidoc

+ 3 - 4
docs/reference/search/suggesters/phrase-suggest.asciidoc

@@ -71,11 +71,10 @@ PUT test
     }
   }
 }
-POST test/test
+POST test/test?refresh=true
 {"title": "noble warriors"}
-POST test/test
+POST test/test?refresh=true
 {"title": "nobel prize"}
-POST _refresh
 --------------------------------------------------
 // CONSOLE
 // TESTSETUP
@@ -126,7 +125,7 @@ can contain misspellings (See parameter descriptions below).
       "options" : [ {
         "text" : "nobel prize",
         "highlighted": "<em>nobel</em> prize",
-        "score" : 0.40765354
+        "score" : 0.5962314
       }]
     }
   ]