pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: oliverfwales@gmail.com
Subject: BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value
Date: Mon, 20 Nov 2023 14:04:26 +0000
Message-ID: <18208-c695b6b402c37727@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18208
Logged by:          Oli
Email address:      oliverfwales@gmail.com
PostgreSQL version: 12.16
Operating system:   aarch64-unknown-linux-gnu
Description:        

Setting MaxWords and MinWords to the same value (e.g. 30) in the options of
ts_headline throws the error "MinWords should be less than MaxWords". Is
there any reason why they must be different? Why not allow setting them to
the same value to allow a fixed number of words to be returned?



view thread (2+ messages)  latest in thread

Message-ID: <18208-c695b6b402c37727@postgresql.org>
Permalink:  ../18208-c695b6b402c37727@postgresql.org/
Also on:    postgresql.org/message-id/18208-c695b6b402c37727@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, oliverfwales@gmail.com
  Subject: Re: BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value
  In-Reply-To: <18208-c695b6b402c37727@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox