Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Tsearch2 Spanis...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15339 of 17602
Post > Topic >>

Tsearch2 Spanish Dictionary

by ignacio.cortes@[EMAIL PROTECTED] (Mario Ignacio =?ISO-8859-1?Q?Rodr=E Apr 21, 2008 at 11:39 AM

Hi All:

I have installed postgresql 8.3.1 on a Gentoo server, but i think that
the spanish dictionary isn't the correct because i have another two
machines with other postgresql versions and tserch2 installed, and a
simple test that i do is make a query with the spanish dictionary, i get
the follow results, the problem that i saw is in the accent, if i put a
word with accent doesn't work:

In postgresql-8.1.8:

SELECT to_tsvector('spanish','estad=EDstica');
 to_tsvector=20=20
--------------
 'estadist':1
(1 fila)


In postgresql-8.2.4:

SELECT to_tsvector('spanish','estad=EDstica');
 to_tsvector=20=20
--------------
 'estadist':1
(1 fila)

But in postgresql-8.3.1:

SELECT to_tsvector('spanish','estad=EDstica');
 to_tsvector=20
-------------
 'stic':2
(1 row)

whitout accent:

SELECT to_tsvector('spanish','estadistica');
 to_tsvector=20
-------------
 'estadist':2
(1 row)



what should i do to make it work well?

Thanks.

Mario Rdz.

--=20
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Tsearch2 Spanish Dictionary
ignacio.cortes@[EMAIL PRO  2008-04-21 11:39:51 
Re: Tsearch2 Spanish Dictionary
alvherre@[EMAIL PROTECTED  2008-04-21 13:22:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 18:53:26 CST 2008.