Closed amrutadotorg closed 1 month ago
You can use the StartSel and StopSel options of the ts_headline function to make postgres return search results highlighted in markdown, and then use the description_md row-level parameter to display the resulting markdown text.
https://www.postgresql.org/docs/current/textsearch-controls.html
Thank you. I think I was not precise enough. I would like to use a color for highlighting.
That is not possible with the built-in components, but you have two possibilities:
Thank you for the ideas.
Hi, is there a way to highlight the words using FTS in PostgreSQL?
thank you