У меня есть запрос, который выглядит примерно так, как показано ниже.По какой-то причине ES 6.4 игнорирует исходный фильтр и возвращает все содержимое.
Кто-нибудь имеет подсказку?
curl -X GET -H "Content-Type: application/json" http://localhost:49153/indexundertest/sometype/_search -d '{
"query":{
"bool":{
"filter":[
{
"terms":{
"_id":[
"AA001"
],
"boost":1.0
}
}
],
"adjust_pure_negative":true,
"boost":1.0
}
},
"_source":{
"includes":[
],
"excludes":[
"content.es",
"content.pt",
"content.zh",
"content.vi",
"other.content.es",
"other.content.pt",
"other.content.zh",
"other.content.vi"
]
}
}'