Re: [PROPOSAL] Improvements of Hunspell dictionaries support

Поиск
Список
Период
Сортировка
От Artur Zakirov
Тема Re: [PROPOSAL] Improvements of Hunspell dictionaries support
Дата
Msg-id 56276FAE.7000805@postgrespro.ru
обсуждение исходный текст
Ответ на Re: [PROPOSAL] Improvements of Hunspell dictionaries support  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
21.10.2015 01:37, Jim Nasby пишет:
> On 10/20/15 9:00 AM, Artur Zakirov wrote:
>> Internal representation of the dictionary in the PostgreSQL doesn't
>> impose too strict limits on the number of affix rules. There are a
>> flagval array, which size must be increased from 256 to 65000.
>
> Is that per dictionary entry, fixed at 64k? That seems pretty excessive,
> if that's the case...

This is per dictionary only. flagval array is used for the all 
dictionary. And it is not used for every dictionary word.

There are also flag field of AFFIX structure, wich size must be 
increased from 8 bit to 16 bit. This structure is used for every affix 
in affix file.

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Foreign join pushdown vs EvalPlanQual
Следующее
От: Taiki Kondo
Дата:
Сообщение: Re: [Proposal] Table partition + join pushdown