Hi,
my response from a search API looks like this
{
"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" ]
}
}
]
}
}
I want the response not to include _index, _type, _score in each hits element.
how do I do this?
Thanks