Re: Filtering dictionaries support and unaccent dictionary

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Filtering dictionaries support and unaccent dictionary
Date: 2009-07-15 11:19:33
Message-ID: 20090715111933.GA4551@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oleg Bartunov wrote:

Hi,

> we'd like to introduce filtering dictionaries support for text search
> and new contrib module unaccent, which provides useful example of
> filtering dictionary. It finally solves the known problem of incorrect
> generation of headlines of text with accents.

I'm curious about the pg_regress change ... is it really necessary?

AFAICS the changes to the core code are very small; I wonder if you
should commit it separately i.e. without the contrib module, and add the
that one in another commit.

As for the contrib module, I think it could use a lot more function
header comments! Also, it would be great if it could be used separately
from tsearch, i.e. that it provided a function unaccent(text) returns
text that unaccented arbitrary strings (I guess it would use the default
tsconfig).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Serge Fonville 2009-07-15 11:19:53 Re: navigation menu for documents
Previous Message Robert Haas 2009-07-15 11:15:28 Re: Synch Rep for CommitFest 2009-07