Re: Include Lists for Text Search - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Include Lists for Text Search
Date
Msg-id 46E5314F.60308@enterprisedb.com
Whole thread Raw
In response to Include Lists for Text Search  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Include Lists for Text Search
List pgsql-hackers
Simon Riggs wrote:
> It seems possible to write your own functions to support various
> possibilities with text search.
> 
> One of the more common thoughts is to have a list of words that you
> would like to include, i.e. the opposite of a stop word list. 
> 
> There are clear indications that indexing too many words is a problem
> for both GIN and GIST. If people already know what they'll be looking
> for and what they will never be looking for, it seems easier to supply
> that list up front, rather than hide it behind lots of hand-crafted
> code.

I don't understand what you're proposing. We already have dict_synonym
that you can use to accept a simple list of words. But that doesn't
change the way GIN and GiST works.

?

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Jens-Wolfhard Schicke
Date:
Subject: Re: Hash index todo list item
Next
From: Oleg Bartunov
Date:
Subject: Re: Include Lists for Text Search