I have {id, title, short_description and description} in my document. I have to do search query on description text and want to reach title.
Like if a person enters something in the description then matching titles appear.
How to write such search queries.
Please help
I am not sure I understand the question. The search result returns the full matched documents which contains the title field so you should be able to display this?
1 Like
If you want to search multiple fields, then use a multi_match
query across them.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.