Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bayer, Samuel" <sam(at)mitre(dot)org>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Atri Sharma <atri(dot)jiit(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
Date: 2022-03-04 16:43:57
Message-ID: 3889176.1646412237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Bayer, Samuel" <sam(at)mitre(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2022-03-04 16:44:26 Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
Previous Message Bayer, Samuel 2022-03-04 16:39:39 Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres