From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | doitsimplefy(at)gmail(dot)com |
Subject: | BUG #16345: ts_headline does not find phrase matches correctly |
Date: | 2020-04-05 21:49:23 |
Message-ID: | 16345-2e0cf5cddbdcd3b4@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
The following bug has been logged on the website:
Bug reference: 16345
Logged by: Augustinas Jokubauskas
Email address: doitsimplefy(at)gmail(dot)com
PostgreSQL version: 12.0
Operating system: Ubuntu 18.04.3
Description:
When query:
select ts_headline(
$$Lorem ipsum urna. Nullam nullam ullamcorper urna.$$,
to_tsquery('Lorem') && phraseto_tsquery('ullamcorper urna'),
'StartSel=#$#, StopSel=#$#, FragmentDelimiter=$#$, MaxFragments=100,
MaxWords=100, MinWords=1'
);
is ran, a fragment of
> Lorem ipsum urna. Nullam nullam ullamcorper urna.
should be returned, however, the result is a single word of #$#Lorem#$# is
returned, meaning that ts_headline did not find the queried string.
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Lakhin | 2020-04-06 06:00:00 | Re: BUG #16329: Valgrind detects an invalid read when building a gist index with buffering |
Previous Message | PG Bug reporting form | 2020-04-05 21:08:08 | BUG #16344: json_agg slow performance vs jsonb_agg, truncate table for master table with remote partition |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2020-04-05 22:07:15 | Re: Add A Glossary |
Previous Message | Andres Freund | 2020-04-05 20:44:04 | Re: CLOBBER_CACHE_ALWAYS regression instability |