My document is as follow :
I search in this document by name.
Now i want get parent name of result.
For example :
When I search "Red" , i want get this result :
Red in Colors (parent_id of Red is 3 & name of 3 id is Colors)
When I search "BMW" , i want get this result :
BMW in Cars (parent_id of BMW is 1 & name of 1 id is Cars)