Re: [HACKERS] Re: indexing words slow
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: ocie@paracel.com
Cc: M.Boekhold@et.tudelft.nl, vadim@sable.krasnoyarsk.su, hackers@postgreSQL.org
Date: 1998-03-12T03:28:32Z
Lists: 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)