Full text search in PostgreSQL 8.4

Поиск
Список
Период
Сортировка
От Konstantin Pavlov
Тема Full text search in PostgreSQL 8.4
Дата
Msg-id 902187.75174.qm@web112520.mail.gq1.yahoo.com
обсуждение исходный текст
Ответы Re: Full text search in PostgreSQL 8.4
Список pgsql-general
p, li { white-space: pre-wrap; }

Hello,


I recently upgraded to version 8.4 and now full text search with russian configuration is not working:


template1=# create database test encoding='win1251';

test=# create table test ("test" varchar(255));

test=# insert into test values ('тест');

test=# select * from test where to_tsvector('russian', test) @@ to_tsquery('russian', 'тест');



In 8.3 version I have result:

 test

------

тест

(1 запись)


 

In 8.4 I have this notice and 0 rows with any table values:

 NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored

test

------

(0 rows)


Why it may not working in 8.4 version?




Thanks


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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: timestamp with time zone tutorial
Следующее
От: Robert James
Дата:
Сообщение: Understanding sequential versus index scans.