BUG #16168: Full text search parser prefers "file" over "asciiword" - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16168: Full text search parser prefers "file" over "asciiword"
Date
Msg-id 16168-dbe201d295658f01@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16168
Logged by:          Chris Waters
Email address:      chris@aha.io
PostgreSQL version: 10.5
Operating system:   Any
Description:

When parsing an English string to form a term vector the parser will treat
any words separated by / as a file path. This is a problem when / is used in
normal English, e.g.

select to_tsvector('morning/afternoon');
      to_tsvector      
-----------------------
 'morning/afternoon':1

I think it would be better if the parser output both the "file" and
"asciiword" versions of this string and indexed both.


pgsql-bugs by date:

Previous
From: Jens.Wilke@parcIT.de
Date:
Subject: Missing locales prevent autovacuum
Next
From: Alexander Lakhin
Date:
Subject: Re: BUG #16162: create index using gist_trgm_ops leads to panic