pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bayer, Samuel <sam@mitre.org>
Cc: Atri Sharma <atri.jiit@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
Date: Fri, 4 Mar 2022 11:45:42 -0500
Message-ID: <YiJCNtCZGIL1dzUH@momjian.us> (raw)
In-Reply-To: <3889176.1646412237@sss.pgh.pa.us>
References: <7ce98668-3fdb-254a-fa81-f1c4d09e6607@mitre.org>
	<23582_1646407541_62222F75_23582_337_5_YiIvdEhT5BecGxPY@momjian.us>
	<fffa4832-7ce5-d828-caaf-8fc5578b3029@mitre.org>
	<CAOeZVid0ZoaQzJL=-W_+jtWjL4HyezPzGhko_CDY=rYpk024DQ@mail.gmail.com>
	<4b5afb83-3e90-17c7-2650-9bd521e958a7@mitre.org>
	<YiI2GWUWvsvOp02z@momjian.us>
	<3886250.1646410186@sss.pgh.pa.us>
	<7ee2afc2-dcf7-2bc9-3092-8ca58ed2b880@mitre.org>
	<3889176.1646412237@sss.pgh.pa.us>

On Fri, Mar  4, 2022 at 11:43:57AM -0500, Tom Lane wrote:
> "Bayer, Samuel" <sam@mitre.org> writes:
> > One concrete question, I suppose, is: the classic TF/IDF search strategy relies on inverse document frequency, which looks across the corpus. I can't tell whether that corpus-wide frequency information is taken into account in either ranking function.
> 
> The documentation is pretty clear that they don't, they just consider each
> document in isolation.  Building a structure that would allow more-global
> info to be taken into account is an interesting project that nobody's
> tackled.

Oh, you mean like, "pizza" is used only in this document vs it being
used in every document.  Should we add some documentation about this or
is it already clear?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






view thread (13+ messages)  latest in thread

Message-ID: <YiJCNtCZGIL1dzUH@momjian.us>
Permalink:  ../YiJCNtCZGIL1dzUH@momjian.us/
Also on:    postgresql.org/message-id/YiJCNtCZGIL1dzUH@momjian.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, sam@mitre.org, atri.jiit@gmail.com
  Subject: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
  In-Reply-To: <YiJCNtCZGIL1dzUH@momjian.us>
  References: <7ce98668-3fdb-254a-fa81-f1c4d09e6607@mitre.org> <23582_1646407541_62222F75_23582_337_5_YiIvdEhT5BecGxPY@momjian.us> <fffa4832-7ce5-d828-caaf-8fc5578b3029@mitre.org> <CAOeZVid0ZoaQzJL=-W_+jtWjL4HyezPzGhko_CDY=rYpk024DQ@mail.gmail.com> <4b5afb83-3e90-17c7-2650-9bd521e958a7@mitre.org> <YiI2GWUWvsvOp02z@momjian.us> <3886250.1646410186@sss.pgh.pa.us> <7ee2afc2-dcf7-2bc9-3092-8ca58ed2b880@mitre.org> <3889176.1646412237@sss.pgh.pa.us> <YiJCNtCZGIL1dzUH@momjian.us>

* 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