简单来说,我有这个查询:
POST /my_index/_search
{
"query": {
"filtered": {
"query": {
"query_string": {
"query": "my_query_text"
}
}
}
},
"post_filter": {
"term": {
"topics": [
"top1",
"top2"
]
}
},
"aggs": {
"authors": {
"terms": {
"field": "authors"
}
}
}
}
我想使用C# NEST客户端来复制它。
但是我找不到在NEST客户端中添加post_filter的方法?
可以帮忙吗?