一定非空鍵I'de想要過濾的elasticsearch查詢的結果和檢索只有那些具有非空場elasticsearch:只能得到有從URL
例如元素。給出以下數據
{
total: 4912,
max_score: 1,
hits: [
{
{
_index: "gcba",
_type: "bafici",
_id: "5a93472b-5db4-4ff9-8c8a-d13158e72d5f-62",
_score: 1,
_source: {
id_film: "23",
title: "great film",
}
},
{
_index: "gcba",
_type: "bafici",
_id: "2732fbf4-4e55-4794-8e98-e5d5fa6a0419-40",
_score: 1,
_source: {
name: "conference",
[...]
}
}
}
我想發出類似
.../_search?from=1&size=100&q=id_film:'*'
只得到與id_film值的那些元素
非常感謝!這正是我所想的,但我搞砸了''的東西,沒有引用它效果很好! – opensas