Re: Full text and removing dashes from names - Mailing list pgsql-general

From Kevin Grittner
Subject Re: Full text and removing dashes from names
Date
Msg-id 1361477033.98195.YahooMailNeo@web162906.mail.bf1.yahoo.com
Whole thread Raw
In response to Full text and removing dashes from names  (Asmir Mustafic <asmir@lignano.it>)
List pgsql-general
Asmir Mustafic <asmir@lignano.it> wrote:=0A=0A> I can't use language based=
=A0 stemming because names=A0 should not be=0A> be stemmed)=0A=0AIf you hav=
e a column that explicitly contains names, I recommend=0Atrigram similarity=
 searching.=A0 I have found trigram similarity much=0Abetter than document-=
oriented full text searches, LIKE, or regular=0Aexpressions for names.=A0 I=
f you want a general document search that=0Auses some special rules in addi=
tion to what you get out of the=0Adictionaries, I have had good results pic=
king out relavent parts=0Ausing regular expressions, building that into a s=
tring and casting=0Ait to tsvector, then concatenating that tsvector with w=
hat came=0Afrom the lexeme/dictionary evaluation.=0A=0A-- =0AKevin Grittner=
=0AEnterpriseDB: http://www.enterprisedb.com=0AThe Enterprise PostgreSQL Co=
mpany

pgsql-general by date:

Previous
From: Ned Wolpert
Date:
Subject: Database corruption event, unlockable rows, possibly bogus virtual xids? Invalid backend server xid
Next
From: "James B. Byrne"
Date:
Subject: Re: Need help extripating plpgsql