Re: Tsearch vs Snowball, or what's a source file?

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Tsearch vs Snowball, or what's a source file?
Date: 2007-06-15 10:26:18
Message-ID: 4672694A.7080506@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I've done some more work on this point. After looking at the Snowball
> code in more detail, I'm thinking it'd be a good idea to keep it at
> arm's length in a loadable shared library, instead of incorporating it

I splited stemmers to two sets because of regression test. As I remember, there
was some problems with loadable conversions and configure's flag --disable-shared

> the only entry points being snowball_init() and snowball_lexize()
> tsearch dictionary support functions. (I am thinking of having just one
> such function pair, with the init function taking an init option to
> select which stemmer to use, instead of a separate Postgres function
> pair per stemmer.)
So, it's needed to change dictinitoption format of snowball dictionaries to
point both stop-word file and language's name.

> If there're no objections, I'll push forward with completing the
> dictionary support functions to go with this infrastructure.
How will we synchronize our changes in patch?

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2007-06-15 10:32:16 Re: How does the tsearch configuration get selected?
Previous Message ITAGAKI Takahiro 2007-06-15 09:33:47 Re: Sorted writes in checkpoint