replace term query sample with text
This commit is contained in:
parent
603d462d4a
commit
10108d9a4e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue