Order preservation of search phrases in postgresql FTS/OpenFTS

Поиск
Список
Период
Сортировка
От Puneet Mishra
Тема Order preservation of search phrases in postgresql FTS/OpenFTS
Дата
Msg-id 6455362.707251342594093871.JavaMail.root@zmbox01.trade-india-local.com
обсуждение
Список pgsql-sql
Dear List ,

Is there anyway to penalize (severly)  the ranking of those documents where the
vector items do not appear in the same order as the items of to_tsquery ie
the initial search terms.

For example if a keyword  "Red Wine" is searched then it should only match "Red Wine" or "Red Grape Wine" or,
but should not match "Wine Red color" or "Wine ..... .... .. .. Red" etc.


Currently it penalizes but not as severely as we would want it to.

Also any pointers to the places (in source code) where things can be tweaked
shall be greatly appreciated.

Regards,

Puneet Mishra

В списке pgsql-sql по дате отправления: