How to make comment as seachable in awesome bar?

I would like to make comments as searchable in global search. How to do this?

Global search is generic and framework features you might need to check in that is a customizable module or else you will have to make changes in the framework itself(Not recommended)

Could you please guide me on this