setweight detailed doc was: Ranking search results using multiple fields in PostgreSQL fulltext search

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема setweight detailed doc was: Ranking search results using multiple fields in PostgreSQL fulltext search
Дата
Msg-id 20091012183740.50374a48@dawn.webthatworks.it
обсуждение исходный текст
Ответ на Re: Ranking search results using multiple fields in PostgreSQL fulltext search  (Gaini Rajeshwar <raja.rajeshwar2006@gmail.com>)
Список pgsql-general
On Mon, 12 Oct 2009 20:02:16 +0530
Gaini Rajeshwar <raja.rajeshwar2006@gmail.com> wrote:

> > inputquery := setweight(cfg, inputtitle, 'A', '&');
> > inputquery := inputquery && setweight(cfg, inputsummary, 'B',
> > '&');

> I didn't understand why did u use '&'  operator in setweight
> function. is that going to help in any way?

I don't understand it either...
I just copied and pasted from a working function I wrote long ago.

select setweight('pg_catalog.english', 'java', 'A', '&');

I can't remember what was the meaning of that '&' and I can't find
the docs.

Could someone point me to a more detailed doc that explain in more
details setweight?

thanks


--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Nested transactions
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Is there a way to know if trigger is invoked by the code from another trigger