Re: tsearch2 gives NOTICE: word is too long - Mailing list pgsql-general

From Albe Laurenz
Subject Re: tsearch2 gives NOTICE: word is too long
Date
Msg-id D960CB61B694CF459DCFB4B0128514C203938190@exadv11.host.magwien.gv.at
Whole thread Raw
In response to tsearch2 gives NOTICE: word is too long  (AI Rumman <rummandba@gmail.com>)
List pgsql-general
AI Rumman wrote:
> When I am using the query:
>
> select length(description),
> to_tsvector('default',description) as c from crmentity ;
>
> Getting error:
>
> NOTICE:  word is too long
>
> Postgresql 8.1.
>
> Could anyone please tell me why?

Because there is a "word" in the "description" column that
exceeds the maximal length (4096 I think).

This is not an error, just an information that you will not
be able to search for this word.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: text search in 8.1
Next
From: Allan Kamau
Date:
Subject: Re: helo