BUG #17043: Full text search - to_tsvector treating a full stop wrong

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17043: Full text search - to_tsvector treating a full stop wrong
Дата
Msg-id 17043-03f93dfe629bcc1b@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17043
Logged by:          James Inform
Email address:      james.inform@pharmapp.de
PostgreSQL version: 13.3
Operating system:   Mac and Ubuntu
Description:

It seems that to_tsvector is treating full stops wrong. If a sentence end
with a '.' and the following word isn't separated by a space, to_tsvector
will identify it as one lexeme:

select to_tsvector('english','This is the rat.Fat is she!')
'rat.fat':4

select to_tsvector('english','This is the rat. Fat is she!')
'fat':5 'rat':4

select to_tsvector('english','This is the rat.Fat is she!') @@
websearch_to_tsquery('fat') 
false

select to_tsvector('english','This is the rat. Fat is she!') @@
websearch_to_tsquery('fat') 
true


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Kim-Alexander Brodowski
Дата:
Сообщение: Re: BUG #17042: Concurrent Modifications of PostgreSQL Function Can Corrupt Database
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17044: installation of postgresql from the pgdg repository conflicts with Fedora's python gdal