私の応答は、私はフィールド_index、_typeと_scoreは各hits.hits
要素から削除する場合は、この削除メタデータは、検索APIから
{
"took":88,
"timed_out":false,
"_shards":{
"total":3,
"successful":3,
"failed":0
},
"hits":{
"total":2,
"max_score":1.0,
"hits":[
{
"_index":"myindex",
"_type":"mytype",
"_id":"first",
"_score":1.0,
"fields":{
"name":[ "John Smith" ]
}
},
{
"_index":"myindex",
"_type":"mytype",
"_id":"second",
"_score":1.0,
"fields":{
"name":[ "John Doe" ]
}
}
]
}
}
のように見えますhits.hits。 どうすればいいですか?
どのようにクエリを送信しますか? – Val
@Val:検索API(POST) – musicsquad