Skip site navigation (1) Skip section navigation (2)

Re: snowball & win 1251

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: iz(at)sai(dot)msu(dot)ru
Cc: Ivan Surkov <i_surkov(at)mail(dot)ru>, pgsql-ru-general(at)postgresql(dot)org
Subject: Re: snowball & win 1251
Date: 2006-07-11 18:56:58
Message-ID: Pine.GSO.4.63.0607112250570.2921@ra.sai.msu.su (view raw or flat)
Thread:
Lists: pgsql-ru-general
On Tue, 11 Jul 2006, Ivan Zolotukhin wrote:

> Есть работающее описание инсталляции Tsearch2 со snowball-ом на Linux:
>
> http://chernowiki.ru/index.php?node=83

замечания:
1. UPDATE pg_ts_cfg SET locale = 'ru_RU.cp1251';
    надо бы добавить WHERE clause

2. Лучше не делать DELETE из pg_ts_cfgmap, а dict_name=NULL
для тех типов лексем, которые не хочетсчя индексировать. 
По умолчанию индексируется куча всего, поэтому надо бы делать не так
как у вас, а для нужной ts_name все положить в NULL, а потом сделать
UPDATE для нужных типов лексем.

>
> Возможно, это получится проэкстраполировать на винду. Если в
> результате образуется рабочая инструкция -- пишите, добавим на
> черновики.ру в эту же статейку.
>
> Regards,
> Ivan Zolotukhin
>
>
> On 7/11/06, Ivan Surkov <i_surkov(at)mail(dot)ru> wrote:
>> 
>> 
>> Подскажите, пожалуйста как заставить работать snowball с кодировкой 
>> вин1251.
>> Сервак под виндой.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>      message can get through to the mailing list cleanly
>

 	Regards,
 		Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
>From pgsql-ru-general-owner(at)postgresql(dot)org  Wed Jul 12 08:48:33 2006
X-Original-To: pgsql-ru-general-postgresql(dot)org(at)postgresql(dot)org
Received: from localhost (mx1.hub.org [200.46.208.251])
	by postgresql.org (Postfix) with ESMTP id 774929FB25A
	for <pgsql-ru-general-postgresql(dot)org(at)postgresql(dot)org>; Wed, 12 Jul 2006 08:21:34 -0300 (ADT)
Received: from postgresql.org ([200.46.204.71])
 by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024)
 with ESMTP id 12248-06-5
 for <pgsql-ru-general-postgresql(dot)org(at)postgresql(dot)org>;
 Wed, 12 Jul 2006 08:21:24 -0300 (ADT)
X-Greylist: delayed 00:59:57.503464 by SQLgrey-
Received: from mail.dubki.ru (mail.dubki.ru [195.225.129.242])
	by postgresql.org (Postfix) with ESMTP id E5E8A9FB2FB
	for <pgsql-ru-general(at)postgresql(dot)org>; Wed, 12 Jul 2006 08:21:24 -0300 (ADT)
Received: from [172.16.14.58] (account ddk HELO 0-8.local.prov.ru)
  by mail.dubki.ru (CommuniGate Pro SMTP 4.2.10)
  with ESMTP id 1767655 for pgsql-ru-general(at)postgresql(dot)org; Wed, 12 Jul 2006 14:25:05 +0400
Date: Wed, 12 Jul 2006 14:30:15 +0400
From: dmitry <ddk(at)dubki(dot)ru>
X-Mailer: The Bat! (v3.62.14) Professional
Reply-To: dmitry <ddk(at)dubki(dot)ru>
X-Priority: 3 (Normal)
Message-ID: <1461470619(dot)20060712143015(at)dubki(dot)ru>
To: pgsql-ru-general(at)postgresql(dot)org
Subject: "global/pg_database": No such file or directory"
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.1
X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=BAYES_50, SPF_PASS
X-Spam-Level: 
X-Archive-Number: 200607/13
X-Sequence-Number: 546

=C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5.

=CF=EE=F1=EB=E5 =F3=F1=F2=E0=ED=EE=E2=EA=E8 postgresql 8.1.4, =F1=E4=E5=EB=
=E0=EB =E8=ED=E8=F2=E4=E1, =E2=F0=EE=E4=E5 =E1=FB =E2=F1=E5 =F5=EE=F0=EE=F8=
=EE,
=ED=EE =F1=E5=F0=E2=E8=F1 =ED=E5 =F5=EE=F7=E5=F2 =E7=E0=EF=F3=F1=EA=E0=F2=
=FC=F1=FF, =EF=E8=F8=E5=F2 - "psql: FATAL:  ???=B5 ?????=BBNN???=BB??NN ??N=
??NNNN N
                                               ?=B0???=BB "global/pg_databa=
se": No such file or directory"
=F5=EE=F2=FF pg_database =E2 =E4=E8=F0=E5=EA=F2=EE=F0=E8=E8 global =F1=F3=
=F9=E5=F1=F2=E2=F3=E5=F2. =D0

--=20
=D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
 dmitry                          mailto:ddk(at)dubki(dot)ru


In response to

pgsql-ru-general by date

Next:From: SerikDate: 2006-07-20 08:00:07
Subject: битовые операции в PostgreSQL
Previous:From: Ivan ZolotukhinDate: 2006-07-11 17:10:47
Subject: Re: snowball & win 1251

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group