Re: full text search and hyphens in uuid

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Norbäck Olivers <martin(at)norpan(dot)org>
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: full text search and hyphens in uuid
Date: 2023-10-28 02:05:14
Message-ID: 1687207.1698458714@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

=?UTF-8?Q?Martin_Norb=C3=A4ck_Olivers?= <martin(at)norpan(dot)org> writes:
> Is there any way to change this behaviour of the tsvector lexer? Do I have
> to write my own tsvector or is there a way to "turn off" integer handling
> in the lexer?

Sadly, no, you'd have to write your own lexer. This is a weak spot
in text search configurability for sure. But I lack any ideas about
how to make it better.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Martin Norbäck Olivers 2023-10-29 16:31:07 Re: full text search and hyphens in uuid
Previous Message Martin Norbäck Olivers 2023-10-27 11:48:32 full text search and hyphens in uuid