dbTalk Databases Forums  

[ERROR] unrecognized headline parameter: "MaxFragments

comp.databases.postgresql comp.databases.postgresql


Discuss [ERROR] unrecognized headline parameter: "MaxFragments in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Torsten Zühlsdorff
 
Posts: n/a

Default [ERROR] unrecognized headline parameter: "MaxFragments - 06-15-2009 , 07:36 AM






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

Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: [ERROR] unrecognized headline parameter: "MaxFragments - 06-15-2009 , 08:32 AM






Torsten Zühlsdorff wrote:
Quote:
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?
The documentation says that there are only the following options:
StartSel, StopSel, MaxWords, MinWords, ShortWord and HighlightAll.

http://www.postgresql.org/docs/8.3/s...EARCH-HEADLINE

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

Yours,
Laurenz Albe

Reply With Quote
  #3  
Old   
Torsten Zühlsdorff
 
Posts: n/a

Default Re: [ERROR] unrecognized headline parameter: "MaxFragments - 06-15-2009 , 10:04 AM



Laurenz Albe schrieb:

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

http://www.postgresql.org/docs/8.3/s...EARCH-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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.