Skip to content

Commit

Permalink
replace term query sample with text
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed May 14, 2011
1 parent 603d462 commit 10108d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 10108d9

Please sign in to comment.