我想返回“test”键中没有“hello”字符串的所有文档。所以,我创建了以下查询,它没有过滤包含“hello”q的文档:-test:(“hello”)
[{
"test":["hello", "second"],
id:123
},
{
"test":["hello1", "second1"],
id:1234
}
]
预期结果:
[
"test":["hello1", "second1"],
id:1234
}
]
我想返回“test”键中没有“hello”字符串的所有文档。所以,我创建了以下查询,它没有过滤包含“hello”q的文档:-test:(“hello”)
[{
"test":["hello", "second"],
id:123
},
{
"test":["hello1", "second1"],
id:1234
}
]
预期结果:
[
"test":["hello1", "second1"],
id:1234
}
]