From: Tom Lane <tgl@sss.pgh.pa.us>
To: josh@agliodbs.com
Cc: LIANHE SHAO <lshao2@jhmi.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: why index scan not working when using 'like'?
Date: Tue, 25 Nov 2003 16:29:04 -0500
Message-ID: <8754.1069795744@sss.pgh.pa.us> (raw)
In-Reply-To: <200311251151.40781.josh@agliodbs.com>
References: <3d83693d9fe0.3d9fe03d8369@jhmimail.jhmi.edu>
<200311251151.40781.josh@agliodbs.com>
Josh Berkus <josh@agliodbs.com> writes:
> In regular text fields containing words, your problem is solvable with full
> text indexing (FTI). Unfortunately, FTI is not designed for arbitrary
> non-language strings. It could be adapted, but would require a lot of
> hacking.
I'm not sure why you say that FTI isn't a usable solution. As long as
the gene symbols are separated by whitespace or some other non-letters
(eg, "foo mif bar" not "foomifbar"), I'd think FTI would work.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, lshao2@jhmi.edu
Subject: Re: why index scan not working when using 'like'?
In-Reply-To: <8754.1069795744@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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