Re: i added Arabic Dictionary but how I know i'm using it

From: Mohammed falih <moh(dot)falih98(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: i added Arabic Dictionary but how I know i'm using it
Date: 2022-09-23 20:34:18
Message-ID: CADqaUh-X=DzQnTjpPi7P-S6JRfLnWu-qET4QfQQ46h17K+Zv1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Dear
sorry for the late reply
your response helped me to finish the feature successfully
thank you for your efforts
my best regards

On Wed, 17 Aug 2022, 6:59 pm Laurenz Albe, <laurenz(dot)albe(at)cybertec(dot)at> wrote:

> On Wed, 2022-08-17 at 14:33 +0300, Mohammed falih wrote:
> > I created the dictionary by this query
> > CREATE TEXT SEARCH DICTIONARY arabic_dict (
> > TEMPLATE = ispell,
> > DictFile = th_ar,
> > AffFile = th_ar,
> > Stopwords = arabic);
> > and as you know the purpose in dictionary is like when you're searching
> for an
> > example a "house" the results will also retrieve a records with "home"
> because
> > it's a synonymous but when I run queries nothing happens
>
> That would be a "synonym dictionary":
>
> https://www.postgresql.org/docs/current/textsearch-dictionaries.html#TEXTSEARCH-SYNONYM-DICTIONARY
> An Ispell dictionary normalizes words, for example by removing suffixes for
> plural and case.
>
>
> You'd have to create a synonym file yourself.
>
> Yours,
> Laurenz Albe
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Barry Kimelman 2022-09-23 21:28:15 problem with on conflict / do update using psql 14.4
Previous Message hubert depesz lubaczewski 2022-09-23 14:38:09 How to handle logical replication 12->14, when our max_replication_slots gets overrun by inactive sync workers