From: Timo Myyrä <timo.myyra@bittivirhe.fi>
To: pgsql-general@lists.postgresql.org
Subject: What IR model the PostgreSQL FTS implementation is based on?
Date: Sat, 26 Feb 2022 13:14:08 +0200
Message-ID: <87k0dh98xr.fsf@asteroid.bittivirhe.fi> (raw)
Hi,
I'm trying to figure out what information retrieval model[1]
the PostgreSQL Full-Text Search is based on.
Based on my reading on the PostgreSQL documentation I would have guessed
extended boolean model but I came across an web article by Compose[2]
which claims that FTS is based on vector space model instead. The
article does not offer anything to back this claim so I thought to ask
here if anyone has more accurate details to share.
I've tried to look this up from postgresql sources but so far I have not found
anything.
Timo
1: https://en.wikipedia.org/wiki/Information_retrieval#/media/File:Information-Retrieval-Models.png
2: https://www.compose.com/articles/indexing-for-full-text-search-in-postgresql/
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: timo.myyra@bittivirhe.fi
Subject: Re: What IR model the PostgreSQL FTS implementation is based on?
In-Reply-To: <87k0dh98xr.fsf@asteroid.bittivirhe.fi>
References: <87k0dh98xr.fsf@asteroid.bittivirhe.fi>
* 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