Re: Generalized edit function? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Generalized edit function?
Date
Msg-id 4D696E72.3080409@agliodbs.com
Whole thread Raw
In response to Generalized edit function?  (fork <forkandwait@gmail.com>)
Responses Re: Generalized edit function?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
"Fork",

> 1.  Does anybody else care? I would love to see this in contrib, but if the
> chances are slim, then I would like to know that too.

That really depends on how well it works, and how much code it is.  It's
way too early for anyone to have a viewpoint on this.  For example, a
few years ago I'd have said that trigrams were hopelessly specialized
for mainstream PostgreSQL, but not they're not.

The path for this is to create an external project (on pgfoundry,
github, sourceforge, code.google,com, etc.) and then an Extension for
this.  Once it's production-quality, and if contrib is even relevant at
that point, you can propose it.

> 3.  I will probably implement this for ascii characters -- if anyone has any
> thoughts on other encodings, please share.

Why would the implementation for ASCII be different from Unicode?
Surely any distance algorithm is encoding-neutral.

Anyway, if it's ASCII-only, that's a guaranteed way to make sure it
isn't taken seriously.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: wal_sender_delay is still required?
Next
From: Robert Haas
Date:
Subject: Re: Generalized edit function?