Indexing Hostnames with tsearch2 and fti.c

Поиск
Список
Период
Сортировка
От Robert Landrum
Тема Indexing Hostnames with tsearch2 and fti.c
Дата
Msg-id 46AF8A4F.20105@aol.net
обсуждение исходный текст
Список pgsql-general
We're currently using the old fti.c code for searching our database.
It's indexing a mixed bag of hostnames, employee names, ticket subjects,
and the like.  We hacked it to make it work correctly for hostnames,
ignoring whitespace and periods as word boundaries.

Since were moving to 8.2, we noticed fti.c was no longer included in the
distro.  Our hacked version still compiles, bit it appears that everyone
is switching to tsearch2, and now is a good time to update.

Has anyone used tsearch2 for indexing/searching hostnames?  What's
involved?  I believe it's possible with a custom dictionary, but don't
have any experience with writing them.

We currently index about 500000 records.  Will tsearch2 have any trouble
sifting through that many records?

Thanks,

Rob

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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: upgrade to 8.2.? or implement Slony, which first?
Следующее
От: Mike Haberman
Дата:
Сообщение: FOREIGN KEY migration of syntax, help needed