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
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
> 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