在linux上运行elasticsearch查询有什么正确的方法?我想出了下面的代码,但是由于我看到很多错误,它似乎并不正确。在linux上运行elasticsearch查询
curl -X GET http://localhost:9200/INDEXED_REPOSITORY/_search?q="constant_score" : {"filter" : { "terms" : { "description" : ["heart", "cancer", and more than 10000 keywords ]}}}}
添加围绕整个URL单引号。 –