3 ms·
IIRC, I stored the plain text too because the engine can return contextually marked up plaintext after finding it in the ts_vector.
by fatbird 10y ago
IIRC, I stored the plain text too because the engine can return contextually marked up plaintext after finding it in the ts_vector.
- ngrilly 10y agoYou're right, PostgreSQL needs the plain text to highlight it with ts_headline. It's similar to Elasticsearch keeping the original document in the _source attribute. Thanks!