PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16168
PG Version10.5
OSAny
Opened2019-12-16 18:22:33+00
Reported byChris Waters
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16168
Logged by:          Chris Waters
Email address:      (redacted)
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.

Messages

DateAuthorSubject
2019-12-16 18:22:33+00PG Bug reporting formBUG #16168: Full text search parser prefers "file" over "asciiword"