Re: Full text index not being used

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Full text index not being used
Дата
Msg-id 4986086A.4050607@sigaev.ru
обсуждение исходный текст
Ответ на Re: Full text index not being used  (Alex <alex@liivid.com>)
Список pgsql-general

> I tried to create an index including all of the fields I query on to
> see if that would work, but I get an error the the index row is too
> large:
>
> => create index master_index on source_listings(geo_lat, geo_lon,
> price, bedrooms, region, city, listing_type, to_tsvector('english',
> full_listing), post_time);
It's not a fulltext index - btree doesn't support @@ operation. Read
carefully: http://www.postgresql.org/docs/8.3/static/textsearch.html ,
and about full text indexes:
http://www.postgresql.org/docs/8.3/static/textsearch-tables.html ,
http://www.postgresql.org/docs/8.3/static/textsearch-indexes.html

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Pet Peeves?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Pet Peeves