Re: Partial substrings in FTS

Поиск
Список
Период
Сортировка
От Jesper Krogh
Тема Re: Partial substrings in FTS
Дата
Msg-id 43E1596A-E8B7-4231-A236-B6B5C1C6299E@krogh.cc
обсуждение исходный текст
Ответ на Partial substrings in FTS  (A J <s5aly@yahoo.com>)
Список pgsql-admin

On 23/04/2012, at 19.10, A J <s5aly@yahoo.com> wrote:

In FTS, how do I search for partial substrings that don't form a English word.
Example, in the text: 'one hundred thirty four'  I want to find the records based on 'hun'

SELECT to_tsvector('one hundred thirty four') @@ to_tsquery('hun');
does not return anything.

Try to_tsquery('hun:*') 

Jesper

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Partial substrings in FTS
Следующее
От: Wells Oliver
Дата:
Сообщение: Calling a plpgsql function with an array of results?