Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qxUFo-001Apu-FX for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Oct 2023 15:32:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qxUFm-00F8zj-Q6 for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Oct 2023 15:32:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qxUFm-00F8zb-Hq for pgsql-bugs@lists.postgresql.org; Mon, 30 Oct 2023 15:32:34 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qxUFk-0034HG-3a for pgsql-bugs@lists.postgresql.org; Mon, 30 Oct 2023 15:32:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 39UFWQIn2420642; Mon, 30 Oct 2023 11:32:26 -0400 From: Tom Lane To: Bruce Momjian cc: Alex Malek , pgsql-bugs@lists.postgresql.org, ngigi@at.co.ke Subject: Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly In-reply-to: References: <152461454026.19805.6310947081647212894@wrigleys.postgresql.org> <1995601.1698526000@sss.pgh.pa.us> <2140529.1698594815@sss.pgh.pa.us> Comments: In-reply-to Bruce Momjian message dated "Mon, 30 Oct 2023 09:09:35 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2420640.1698679946.1@sss.pgh.pa.us> Date: Mon, 30 Oct 2023 11:32:26 -0400 Message-ID: <2420641.1698679946@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > How is this weasel-wording, attached. :-) Getting there. What do you think of + Specifically, the function will use the query to select relevant + text fragments, and then highlight all words that appear in the query, + even if those word positions do not match the query's restrictions. regards, tom lane