Re: vectorization is not helping with plural to singular matching - Mailing list pgsql-docs

From Tom Lane
Subject Re: vectorization is not helping with plural to singular matching
Date
Msg-id 3547415.1641223616@sss.pgh.pa.us
Whole thread Raw
In response to vectorization is not helping with plural to singular matching  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> SELECT to_tsvector('fat cats ate fat rats') @@ to_tsquery('fat & rat'); 

> This is giving false, even I tried for various other examples for plural to
> singular matching but it fails. 

The case works for me, but I have

=# show default_text_search_config;
 default_text_search_config 
----------------------------
 pg_catalog.english
(1 row)

I'm betting your default is set to some other language in which
stripping trailing "s" wouldn't make sense.

            regards, tom lane



pgsql-docs by date:

Previous
From: Eric Mutta
Date:
Subject: Re: Typo in "27.2.8. Synchronous Replication"
Next
From: PG Doc comments form
Date:
Subject: Add TypeScript driver