Browse Source

Text Query has been replaced by Match Query

Closes #5727.
David Pilato 11 years ago
parent
commit
0cebbf1624
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.textile

+ 1 - 1
README.textile

@@ -86,7 +86,7 @@ We can also use the JSON query language Elasticsearch provides instead of a quer
 curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
 { 
     "query" : { 
-        "text" : { "user": "kimchy" }
+        "match" : { "user": "kimchy" }
     } 
 }'
 </pre>