how to extract a single field from the result hits of full text search query?
For example:
I have indexed all fields of doucuments like this.
{
“callsign”: “TXW”,
“country”: “United States”,
“iata”: “TQ”,
“icao”: “TXW”,
“id”: 10123,
“name”: “Texas Wings”,
“type”: “airline”
}
For any FTS query, I want to extract 'id ’ fields of all my search hits.
How to do this?
I am new to this. Any help appreciated!