Re: Full Text Search German Date

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thorsten <ThorstenNRW(at)gmx(dot)de>
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: Full Text Search German Date
Date: 2025-05-24 14:37:12
Message-ID: 3061138.1748097432@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thorsten <ThorstenNRW(at)gmx(dot)de> writes:
> I create a tsvector (in a column named "search") from document files,
> which contain a German date. When I select the column, I can see it has
> been tokenized:
> '25.05.2025':56,99 (plus many other tokens)
> but
> SELECT id FROM documents WHERE
> search @@ to_tsquery('german', '25.05.2025')
> gives no result.

What is the plan for that query --- is it using an index?
Maybe the index is corrupt, in which case REINDEX could fix it.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Sam Stearns 2025-06-27 15:11:00 Permission Denied on INSERT
Previous Message Thorsten 2025-05-24 07:51:00 Full Text Search German Date