我正在进行弹性搜索,我在弹性搜索中有以下数组
{
"took": 101,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 24745,
"max_score": 1,
"hits": [
{
"_index": "users",
"_type": "user",
"_id": "742",
"_score": 1,
"_source": {
{
"id": "1",
"username": "broad",
"full_name": "Bradshaw",
"age": 29,
"gender": "Male",
"followers" : ["2","3","4"]
},
{
"id": "2",
"username": "kevin",
"full_name": "Kevin",
"age": 29,
"gender": "Male",
"followers" : ["1","3"]
},
{
"id": "3",
"username": "john",
"full_name": "John Smith",
"age": 29,
"gender": "Male",
"followers" : ["1","2"]
},
.
.
. and so on
}
]}
现在我想从用户1中删除关注者二。现在我很困惑我如何做到这一点我搜索用户2但我无法通过从关注者列表中删除关注者2来更新用户1的关注者。谁能告诉我这个问题的查询字符串是什么。