Re: Using text search for locations, or a computed btree index

Поиск
Список
Период
Сортировка
От Jaume Sabater
Тема Re: Using text search for locations, or a computed btree index
Дата
Msg-id 26819476.7901228411751220.JavaMail.root@zimbra.linuxsilo.net
обсуждение исходный текст
Список pgsql-admin
----- "Jaume Sabater" <jsabater@linuxsilo.net> wrote:

> The guys creating the web site at the company I work for want an
> incremental search for locations. So, I need to find all locations
> that start with Uni, then Unit, then Unite, and so on. Problem is that

Correct: start or contain.

> What I don't know how to do is to just tell tsvector (and tsquery when
> searching) to do what I need and not what I don't need. I can't find a
> way in the online documentation to tell the engine which pieces I want
> from the whole puzzle.

Rereading the configuration example section of the documentation, just thought that most probably PostgreSQL won't be
applyingthe "phases" of normalization that I don't need if I create a new configuration and don't add any dictionary
butthe synonyms one (that would be used for the alternate names of locations). 

Still, not sure how to control the way accented characters are converted. Will tsvector still convert accented
charactersto their non-accented equivalents if I don't specify any dictionary or thesaurus? 

--
Jaume Sabater
http://linuxsilo.net/

"Ubi sapientas ibi libertas"

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

Предыдущее
От: Jaume Sabater
Дата:
Сообщение: Using text search for locations, or a computed btree index
Следующее
От: Marc Fromm
Дата:
Сообщение: Re: restore a table in a database