Re: FTS and tri-grams - Mailing list pgsql-general

From Artur Zakirov
Subject Re: FTS and tri-grams
Date
Msg-id CAKNkYnwnNcO3YvVi6puwa-of75o7pz0AAzCBZvq3V3dm_MLtVg@mail.gmail.com
Whole thread Raw
In response to FTS and tri-grams  (Mark Phillips <mark.phillips@mophilly.com>)
List pgsql-general
On Tue, Jan 5, 2021 at 10:26 PM Mark Phillips
<mark.phillips@mophilly.com> wrote:
> We now wonder if tri-gram alone can achieve a fast full text search result. If so, then we could the tsvector column
bedropped? 
>
> 1. Is FTS required for tri-gram to work?
> 2. Are these independent of each other?

FTS and tri-gram are independent features. You can implement them
independently, but it might depend on your use case.

> 3. Is tri-gram alone sufficient for a “full text search” feature?

It isn't sufficient if you want exact and/or phrase search.

--
Artur



pgsql-general by date:

Previous
From: Durumdara
Date:
Subject: How to convert escaped text column - force E prefix
Next
From: Pavel Stehule
Date:
Subject: Re: How to convert escaped text column - force E prefix