Re: Full text search strategy for names

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Full text search strategy for names
Дата
Msg-id BC2D830C-A758-4426-A6D7-EDE022F07BC2@pgedit.com
обсуждение исходный текст
Ответ на Re: Full text search strategy for names  (Rick Schumeyer <rschumeyer@gmail.com>)
Список pgsql-general
On Apr 17, 2009, at 7:02 AM, Rick Schumeyer wrote:

> You can get extra (undesirable) results, depending on the name.  For
> example, if you are searching for the last name of "Ricks", you will
> also find all authors whose first name is "Rick"

If you can process the names separately from the rest of the text, try

select to_tsvector('simple', 'claude Jones');

      to_tsvector
----------------------
  'jones':2 'claude':1





John DeSoi, Ph.D.





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

Предыдущее
От: Irene Barg
Дата:
Сообщение: Re: number of relations reported by vacuumdb -av
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Community account