pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedword search
2+ messages / 2 participants
[nested] [flat]
* word search
@ 2003-03-10 03:15 Bruce Young <hbrucey@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Young @ 2003-03-10 03:15 UTC (permalink / raw)
To: pgsql-admin
Hi list..
how do you guys search for a given word using postgresql.
Not matching characters like ... select word from text where word ~ 'myword';
i am trying to return values that only have that particular word string in a
text field.
any help appreciated. thanks
- bruce
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: word search
@ 2003-03-10 09:46 Rajesh Kumar Mallah <mallah@trade-india.com>
parent: Bruce Young <hbrucey@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Rajesh Kumar Mallah @ 2003-03-10 09:46 UTC (permalink / raw)
To: Bruce Young <hbrucey@yahoo.com>; pgsql-admin
you can use contrib/tsearch . which is very fast (becoz it
uses gist indexes) and supports stemming.
regds
mallah.
On Monday 10 Mar 2003 8:45 am, Bruce Young wrote:
> Hi list..
> how do you guys search for a given word using postgresql.
> Not matching characters like ... select word from text where word ~ 'myword';
>
> i am trying to return values that only have that particular word string in a
> text field.
> any help appreciated. thanks
>
> - bruce
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
--
Regds
Mallah
----------------------------------------
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-03-10 09:46 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 03:15 word search Bruce Young <hbrucey@yahoo.com>
2003-03-10 09:46 ` Rajesh Kumar Mallah <mallah@trade-india.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox