| От | Hannes Dorbath |
|---|---|
| Тема | Tsearch2 ranking |
| Дата | |
| Msg-id | dv3le4$pqe$1@news.hub.org обсуждение исходный текст |
| Ответы |
Re: Tsearch2 ranking
Re: Tsearch2 ranking Re: Tsearch2 ranking |
| Список | pgsql-general |
2 rows of tsvector: 'bar':2 'baz':3 'foo':1 'bar':2 'baz':1 'foo':3 so source text was: foo bar baz baz bar foo ts_query now is 'foo&baz&baz', so both matched. How can I honor the correct order of the first row and rank it higher? The position information is there, why doesn't rank() / rank_cd() not use it? Is there any way to make a difference between those to rows? Any? Even if it's a bad hack? I really need it :/ Thanks in advance -- Regards, Hannes Dorbath
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера