mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +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 '
|
curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
|
||||||
{
|
{
|
||||||
"query" : {
|
"query" : {
|
||||||
"term" : { "user": "kimchy" }
|
"text" : { "user": "kimchy" }
|
||||||
}
|
}
|
||||||
}'
|
}'
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user