From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Ferdinand Smit <ferdinand(at)telegraafnet(dot)nl>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Full textsearch & gist (fwd) |
Date: | 2003-12-09 13:18:20 |
Message-ID: | 3FD5CB9C.3020005@sigaev.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-hackers |
> ---------- Forwarded message ----------
> Date: Tue, 9 Dec 2003 12:55:55 +0100
> From: Ferdinand Smit <ferdinand(at)telegraafnet(dot)nl>
> To: pgsql-admin(at)postgresql(dot)org
> Subject: [ADMIN] Full textsearch & gist
>
> Hi,
>
> I'm experimenting with tsearch2. It works very good, but i have a few
> questions:
>
> - Is there a tsearch maillingslist ?
Full information about tsearch v1 and v2 are avaliable at
http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
>
> - How can i create a muticolumn index of an date and a text field, so i for
> example can textsearch in de last few days.
>
> CREATE INDEX test_ix ON test USING gist(date,tsvector);
> ERROR: data type date has no default operator class for access method "gist"
Install contrib/btree_gist, it contains GiST methods for 'timestamp without time
zone' datatype.
>
> - Does someone now how i can select the most used words, so i can create a
> stop file.
Tsearch v2 has stat function:
select * from stat('select TSVECTOR from TABLE') order by ndoc desc, nentry
desc, word;
Where TSVECTOR is name of column of tsvector type and TABLE is a table with
that column.
Warn: it works very slow.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
From | Date | Subject | |
---|---|---|---|
Next Message | Sam Barnett-Cormack | 2003-12-09 14:26:52 | Re: Running Postgres Daemons with same data files |
Previous Message | Chris Travers | 2003-12-09 13:14:00 | Re: Running Postgres Daemons with same data files |
From | Date | Subject | |
---|---|---|---|
Next Message | Gellert, Andre | 2003-12-09 13:52:35 | Re: Reset oid , starting value=1 -- Max. Number of OID |
Previous Message | Philippe Lang | 2003-12-09 13:08:10 | Re: Shell access & send email from PLPGSQL? |
From | Date | Subject | |
---|---|---|---|
Next Message | Ivelin Ivanov | 2003-12-09 15:15:41 | PostgreSQL port to pure Java? |
Previous Message | Urmo | 2003-12-09 12:23:14 | Re: Searching for substring with tsearch(1/2) |