Re: [HACKERS] Re: indexing words slow - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: indexing words slow
Date
Msg-id 199803120328.WAA02424@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: indexing words slow  (ocie@paracel.com)
List pgsql-hackers
> > btw. to make things clearer on what I mean with '^lling' and '^tones', I
> > really mean "'^lling' *AND* '^tones'", ie. a join :) actually pretty good
> > don't ya think? :)
>
> This sounds like an unsatisfyable query, perhaps if the database
> figured this out, it could return zero rows without even hitting the
> index.  If the first item matched, the first character is an 'l', if
> the second matches, a 't'.  It can't be both an 'l' and a 't'!

He has to instances of the table, and is looking for index entries with
both words.  We have only been sharing part of the conversation.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [QUESTIONS] Does Storage Manager support >2GB tables?
Next
From: Chris Albertson
Date:
Subject: Re: [QUESTIONS] Does Storage Manager support >2GB tables?