replace term query sample with text

This commit is contained in:
kimchy 2011-05-14 12:14:19 +03:00
parent 603d462d4a
commit 10108d9a4e
1 changed files with 1 additions and 1 deletions

View File

@ -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" : {
"term" : { "user": "kimchy" }
"text" : { "user": "kimchy" }
}
}'
</pre>