Обсуждение: tsearch2 and a database with texts in different languages?

Поиск
Список
Период
Сортировка

tsearch2 and a database with texts in different languages?

От
hubert depesz lubaczewski
Дата:
hi
i guess this should be a simple question:
is it possible to use tsearch2 in a database where i have texts in
different languages?
i.e. it is a database of technical texts written in at least 4
different languages (english, polish, russian and german).
probably more languages will be comming.
the question is - is it possible to setup tsearch2 indices to they
will allow me to search efficiently over this database.
i dont need stemmers (which might be a big point in this case), but
having them would be nice.

depesz

Re: tsearch2 and a database with texts in different languages?

От
"Joshua D. Drake"
Дата:
hubert depesz lubaczewski wrote:
> hi
> i guess this should be a simple question:
> is it possible to use tsearch2 in a database where i have texts in
> different languages?
> i.e. it is a database of technical texts written in at least 4
> different languages (english, polish, russian and german).

http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/

Yes. I believe you just need the right dictionaries. The site lists them.

Sincerely,

Joshua D. Drake




> probably more languages will be comming.
> the question is - is it possible to setup tsearch2 indices to they
> will allow me to search efficiently over this database.
> i dont need stemmers (which might be a big point in this case), but
> having them would be nice.
>
> depesz
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)