[Django]-How to use SearchHeadline with SearchVector on multiple fields

0👍

I don’t see any possibility to use a tsvector.
Have a look in the documentation.

ts_headline uses the original document, not a tsvector summary, so it can be slow and should be used with care.

https://www.postgresql.org/docs/current/textsearch-controls.html

in general your workaround is the (unique) solution
🙂

👤Simone

Leave a comment