Re: tsearch2: Error: Word is too long

Поиск
Список
Период
Сортировка
От psql-mail@freeuk.com
Тема Re: tsearch2: Error: Word is too long
Дата
Msg-id E19kRhJ-000ABC-00@buckaroo.freeuk.net
обсуждение исходный текст
Ответ на tsearch2: Error: Word is too long  (psql-mail@freeuk.com)
Ответы Re: tsearch2: Error: Word is too long  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Bad form to reply to my own posting i know but -

I notice that the integer dictionary can accept MAXLEN for the longest
number that is considered a valid integer. Can i set MAXLEN for the en
dictionary to be the longest word i want indexed?

I think i'd need to create a new dictionary...?

> I tried to index my data with tsearch2 but I get the following error:

>
> Error: Word is too long
>
> I have looked through the docs and googled for "Word is too long" +
> tsearch2 with no luck - so i hope i haven't missed something obvious.

>
> The problem is due to binary encodings in the data, base64 etc.
>
> Can i supply a max word length somewhere?
> and how can I find out what the max limit is?
>
> Thanks!
>

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

Предыдущее
От: Joel Burton
Дата:
Сообщение: How to recognize PG SQL files?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: v7.4 Beta 1 Bundle Available for Testing ...