Re: retrieving keys from a GIN index on a tsvector column in Postgres 9.1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: retrieving keys from a GIN index on a tsvector column in Postgres 9.1?
Дата
Msg-id 5178.1350594390@sss.pgh.pa.us
обсуждение исходный текст
Ответ на retrieving keys from a GIN index on a tsvector column in Postgres 9.1?  (Chris Esposito <chris.esposito@gmail.com>)
Список pgsql-general
Chris Esposito <chris.esposito@gmail.com> writes:
>     I've got a collection of documents that I'd like to do some full text
> searching on in Postgres 9.1, so adding them as the contents of a tsvector
> and then creating a GIN index on this column seems straightforward enough.
> My understanding of the GIN index is that the keys used are (depedning on
> the text search configuration used) either the list of original words or
> their normalized lexemes from the collection of original documents.

If you're storing a tsvector column, it already has done all the text
processing involved --- I don't believe GIN is adding anything, it's
just indexing the elements of the tsvector.

            regards, tom lane


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

Предыдущее
От: hartrc
Дата:
Сообщение: oracle_fdw
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: retrieving keys from a GIN index on a tsvector column in Postgres 9.1?