pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: jesper@krogh.cc
Cc: pgsql-performance@postgresql.org
Cc: oleg@sai.msu.su
Cc: teodor@sigaev.ru
Subject: Re: Queryplan within FTS/GIN index -search.
Date: Mon, 02 Nov 2009 19:18:02 -0500
Message-ID: <11587.1257207482@sss.pgh.pa.us> (raw)
In-Reply-To: <4AEF0369020000250002C183@gw.wicourts.gov>
References: <4AEF0369020000250002C183@gw.wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Any sane text search application is going to try to filter out
>> common words as stopwords; it's only the failure to do that that's
>> making this run slow.
 
> I'd rather have the index used for the selective test, and apply the
> remaining tests to the rows retrieved from the heap.

Uh, that was exactly my point.  Indexing common words is a waste.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <11587.1257207482@sss.pgh.pa.us>
Permalink:  ../11587.1257207482@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11587.1257207482@sss.pgh.pa.us

 · 

reply

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, Kevin.Grittner@wicourts.gov, jesper@krogh.cc, oleg@sai.msu.su, teodor@sigaev.ru
  Subject: Re: Queryplan within FTS/GIN index -search.
  In-Reply-To: <11587.1257207482@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