1👍
✅
Try this:
curl -XPOST "http://localhost:9200/haystack/modelresult/_search" -d'
{
"query": {
"match": {
"post_text": "#test"
}
}
}'
or this:
curl -XPOST "http://localhost:9200/haystack/modelresult/_search" -d'
{
"query": {
"term": {
"post_text": "#test"
}
}
}'
Source:stackexchange.com