" " ( , ) tsvector, "" , .
, , , . , tsvector "fulltext": 'Clio:1A Renault:2B,4C Benzin:5D'::tsvector;
, tsquery
, 'Renault & Clio'::tsquery;
, Renault Clio, Clio
Renault
. , Mercedes Clio
, .
.
. Clio - , (Renault), , . , () , , - , , . , -, , , , , ( ).
In the end, your task will be just that, create a function that is “smart” based on user input and will define a complex query that you can execute against the database. This is a long process, but definitely doable. Try to be smart, but not too big, and in any case tsvector
will cover you for all text columns, which will reduce the number of columns that you have.