mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 04:45:37 +00:00
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…
x
Reference in New Issue
Block a user