pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Artur Zakirov <a.zakirov@postgrespro.ru>
To: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Improve support of Hunspell in ispell dictionary.
Date: Fri, 4 Mar 2016 21:24:57 +0300
Message-ID: <56D9D2F9.9090806@postgrespro.ru> (raw)
In-Reply-To: <E1abtDg-0003kT-7C@gemulon.postgresql.org>
References: <E1abtDg-0003kT-7C@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Thank you for commit.

This commit did not pass regression tests in Windows Server in 
pgbuildfarm. Attached patch fix it.

On 04.03.2016 20:08, Teodor Sigaev wrote:
> Improve support of Hunspell in ispell dictionary.
>
> Now it's possible to load recent version of Hunspell for several languages.
> To handle these dictionaries Hunspell patch adds support for:
> * FLAG long - sets the double extended ASCII character flag type
> * FLAG num - sets the decimal number flag type (from 1 to 65535)
> * AF parameter - alias for flag's set
>
> Also it moves test dictionaries into separate directory.
>
> Author: Artur Zakirov with editorization by me
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/d78a7d9c7fa3e9cd494b906f065fe7b7fe9fb9a5
>
> Modified Files
> --------------
> doc/src/sgml/textsearch.sgml                       | 148 ++++-
> src/backend/tsearch/Makefile                       |   7 +-
> src/backend/tsearch/dicts/hunspell_sample.affix    |  24 +
> .../tsearch/dicts/hunspell_sample_long.affix       |  35 ++
> .../tsearch/dicts/hunspell_sample_long.dict        |   8 +
> .../tsearch/dicts/hunspell_sample_num.affix        |  26 +
> src/backend/tsearch/dicts/hunspell_sample_num.dict |   8 +
> src/backend/tsearch/dicts/ispell_sample.affix      |  26 +
> src/backend/tsearch/dicts/ispell_sample.dict       |   8 +
> src/backend/tsearch/dicts/synonym_sample.syn       |   5 +
> src/backend/tsearch/dicts/thesaurus_sample.ths     |  17 +
> src/backend/tsearch/hunspell_sample.affix          |  24 -
> src/backend/tsearch/ispell_sample.affix            |  26 -
> src/backend/tsearch/ispell_sample.dict             |   8 -
> src/backend/tsearch/spell.c                        | 611 ++++++++++++++++++---
> src/backend/tsearch/synonym_sample.syn             |   5 -
> src/backend/tsearch/thesaurus_sample.ths           |  17 -
> src/include/tsearch/dicts/spell.h                  |  51 +-
> src/test/regress/expected/tsdicts.out              | 234 ++++++++
> src/test/regress/sql/tsdicts.sql                   |  64 +++
> 20 files changed, 1183 insertions(+), 169 deletions(-)
>
>


-- 
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Attachments:

tsearch-dicts-for-windows.patch (text/x-patch, 575B) download *** a/src/tools/msvc/Install.pm --- b/src/tools/msvc/Install.pm *************** *** 143,149 **** sub Install $target . '/share/tsearch_data/'); CopySetOfFiles( 'Dictionaries sample files', ! [ glob("src\\backend\\tsearch\\*_sample.*") ], $target . '/share/tsearch_data/'); my $pl_extension_files = []; --- 143,149 ---- $target . '/share/tsearch_data/'); CopySetOfFiles( 'Dictionaries sample files', ! [ glob("src\\backend\\tsearch\\dicts\\*_sample*") ], $target . '/share/tsearch_data/'); my $pl_extension_files = [];

view thread (8+ messages)  latest in thread

Message-ID: <56D9D2F9.9090806@postgrespro.ru>
Permalink:  ../56D9D2F9.9090806@postgrespro.ru/
Also on:    postgresql.org/message-id/56D9D2F9.9090806@postgrespro.ru

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: a.zakirov@postgrespro.ru, teodor@sigaev.ru
  Subject: Re: pgsql: Improve support of Hunspell in ispell dictionary.
  In-Reply-To: <56D9D2F9.9090806@postgrespro.ru>
  References: <E1abtDg-0003kT-7C@gemulon.postgresql.org> <56D9D2F9.9090806@postgrespro.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox