I have "field_b" which is alias to "field_a". When I search it using GET method in the dev console, it return the data with "field_a" : 'some data" instead of "field_b" : "some data". Is it possible to get it to return data using "field_b"?
looks like this is somewhat possible with docvalue_fields. Not sure if there's a better solution.
"docvalue_fields": [
{
"field": "field_b",
"format": "date_time"
}
]