내 대답은 내가 각 hits.hits
요소에서 제거 할 _index, _type 및 _score 필드를 원하는이제거 메타 데이터 검색 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