Re: ts_headline and query with hyphen

From: daniel <dochtorek(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ts_headline and query with hyphen
Date: 2012-12-05 05:02:06
Message-ID: 50BED54E.7040300@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

As a follow up to my previous comment, this is a cutting example

select ts_headline('game played on-line', to_tsquery('on-line & game'),
'MaxWords=3,MinWords=2,ShortWord=1');

ts_headline
-----------------------
<b>game</b> played on

that can't be right...

daniel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philipp Kraus 2012-12-05 07:15:30 libpq
Previous Message Alan Hodgson 2012-12-05 05:02:04 Re: Table with million rows - and PostgreSQL 9.1 is not using the index