Re: [PROPOSAL] Improvements of Hunspell dictionaries support - Mailing list pgsql-hackers

From Artur Zakirov
Subject Re: [PROPOSAL] Improvements of Hunspell dictionaries support
Date
Msg-id 563F30B2.7030307@postgrespro.ru
Whole thread Raw
In response to Re: [PROPOSAL] Improvements of Hunspell dictionaries support  (Emre Hasegeli <emre@hasegeli.com>)
Responses Re: [PROPOSAL] Improvements of Hunspell dictionaries support
List pgsql-hackers
On 07.11.2015 17:20, Emre Hasegeli wrote:
> It seems to have something to do with the order of the affixes.  It
> works, if I move affix 2646 to the beginning of the list.
>
> [1] https://tr-spell.googlecode.com/files/dict_aff_5000_suffix_1130000_words.zip
Thank you for reply.

This was because of the flag field size of the SPELL struct. And long
flags were being trancated in the .dict file.

I attached new patch. It is temporary patch, not final. It can be done
better.

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


Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Rework the way multixact truncations work
Next
From: Michael Paquier
Date:
Subject: Re: eXtensible Transaction Manager API