Re: tsearch2 in PostgreSQL 8.3?

Поиск
Список
Период
Сортировка
От Trevor Talbot
Тема Re: tsearch2 in PostgreSQL 8.3?
Дата
Msg-id 90bce5730708181001s684209a3ka33c15bf9e375cbe@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tsearch2 in PostgreSQL 8.3?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: tsearch2 in PostgreSQL 8.3?
Список pgsql-hackers
On 8/18/07, Bruce Momjian <bruce@momjian.us> wrote:

> Remember an expression index can be a user-created function so you can
> embed whatever you want in your function and just index it's output,
> just like you would with a trigger creating a separate column.

Well, you could create a function that returns a tsvector, but how do
you get that to work with queries?  I've been under the impression the
expressions need to match (in the normal case, be the same function
with the same arguments) in order to use the index.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "It'd be better if there were not an implicit cast from int8 to text..."
Следующее
От: Tom Lane
Дата:
Сообщение: Re: text search vs schemas