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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: tsearch partial word


  • From: "Joshua D. Drake" <jd(at)commandprompt(dot)com>
  • To: Yudie Pg <yudiepg(at)gmail(dot)com>
  • Cc: pgsql-general(at)postgresql(dot)org
  • Subject: Re: tsearch partial word
  • Date: Mon, 17 Apr 2006 13:20:56 -0700
  • Message-id: <1145305256(dot)9080(dot)47(dot)camel(at)localhost(dot)localdomain>

On Mon, 2006-04-17 at 14:48 -0500, Yudie Pg wrote:
> Is it possible to search partial word as like '%...%' in tsearch?

Well at that point you are just going to seqscan anyway... so why not
just to a standard like search?

The could see that you might get a benefit from using the '%...%' on the
vectors columns though, as you may be scanning less data.

Joshua D. Drake


>  
> Yudie
-- 

            === The PostgreSQL Company: Command Prompt, Inc. ===
      Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
      Providing the most comprehensive  PostgreSQL solutions since 1997
                     http://www.commandprompt.com/







Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group