Most efficient way to achieve this ts_query

Поиск
Список
Период
Сортировка
От Jamie Tufnell
Тема Most efficient way to achieve this ts_query
Дата
Msg-id b0a4f3350810151800i529d734bld19b6fc3487309f8@mail.gmail.com
обсуждение исходный текст
Ответы Re: Most efficient way to achieve this ts_query  (Frank Bax <fbax@sympatico.ca>)
Список pgsql-sql
Hi

If someone uses a search query on my site like this:

"abc def"

I would like to return all results for 'abc & def' first, followed by
all results for tsquery 'abc | def' is there some way to express this
in one tsquery?  What's the most efficient way to go about this?  The
search is on one column.

Thanks
Jamie


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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Updating Query of 1 table from data in another
Следующее
От: Frank Bax
Дата:
Сообщение: Re: Most efficient way to achieve this ts_query