Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ERROR] unrecognized headline parameter: "MaxFragments

0 views
Skip to first unread message

Torsten Zühlsdorff

unread,
Jun 15, 2009, 8:36:24 AM6/15/09
to
Hello,

if i try the following statement:
select ts_headline('example text', to_tsquery('example'), 'ShortWord =
3, MinWords = 10, MaxWords = 30, MaxFragments = 2');

i get:
ERROR: unrecognized headline parameter: "MaxFragments"

Using the option "FragmentDelimiter" i get the error too.

I am using the actual version:

# select version();
version

------------------------------------------------------------------------------------------------------
PostgreSQL 8.3.7 on i586-mandriva-linux-gnu, compiled by GCC
i586-mandriva-linux-gnu-gcc (GCC) 4.3.2
(1 Zeile)

Is there any help or advise?

Greetings from Germany,
Torsten

Laurenz Albe

unread,
Jun 15, 2009, 9:32:07 AM6/15/09
to

The documentation says that there are only the following options:
StartSel, StopSel, MaxWords, MinWords, ShortWord and HighlightAll.

http://www.postgresql.org/docs/8.3/static/textsearch-controls.html#TEXTSEARCH-HEADLINE

So I would expect an error like the one you are getting...

Yours,
Laurenz Albe


Torsten Zühlsdorff

unread,
Jun 15, 2009, 11:04:40 AM6/15/09
to
Laurenz Albe schrieb:

> The documentation says that there are only the following options:
> StartSel, StopSel, MaxWords, MinWords, ShortWord and HighlightAll.
>
> http://www.postgresql.org/docs/8.3/static/textsearch-controls.html#TEXTSEARCH-HEADLINE
>
> So I would expect an error like the one you are getting...

I am sorry. I accidentally read the docs of 8.4 -.-

Greetings,
Torsten

0 new messages