我想从NEST执行以下查询。我从这个例子开始 https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
搜索与用户2
的关注者匹配的所有推文
curl -XGET localhost:9200/tweets/_search -d '{
"query" : {
"filtered" : {
"filter" : {
"terms" : {
"user" : {
"index" : "users",
"type" : "user",
"id" : "2",
"path" : "followers"
},
"_cache_key" : "user_2_friends"
}
}
}
}
}'