From 10108d9a4e2323d8fedc1d6324ec68e1d27b9172 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sat, 14 May 2011 12:14:19 +0300 Subject: [PATCH] replace term query sample with text --- README.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.textile b/README.textile index 073936e8c2b..da321d3a05e 100644 --- a/README.textile +++ b/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" : { - "term" : { "user": "kimchy" } + "text" : { "user": "kimchy" } } }'