Permalink
Browse files

replace term query sample with text

  • Loading branch information...
1 parent 603d462 commit 10108d9a4e2323d8fedc1d6324ec68e1d27b9172 @kimchy kimchy committed May 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
View
@@ -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>

0 comments on commit 10108d9

Please sign in to comment.