Re: Full text and removing dashes from names
| От | Kevin Grittner |
|---|---|
| Тема | Re: Full text and removing dashes from names |
| Дата | |
| Msg-id | 1361477033.98195.YahooMailNeo@web162906.mail.bf1.yahoo.com обсуждение |
| Ответ на | Full text and removing dashes from names (Asmir Mustafic <asmir@lignano.it>) |
| Список | 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 по дате отправления: