| От | PG Bug reporting form |
|---|---|
| Тема | BUG #15689: Stemming of negation/not operator |
| Дата | |
| Msg-id | 15689-3f2aba943354ac68@postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #15689: Stemming of negation/not operator
|
| Список | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 15689
Logged by: Ivan Viragine
Email address: ivanviragine@gmail.com
PostgreSQL version: 10.3
Operating system: MacOS and centOS
Description:
When using to_tsquery function it is stemming negation/not parts of the
query, where it probably shouldn't.
Some examples:
SELECT to_tsquery('english', 'car & !cars');
to_tsquery
----------------
'car' & !'car'
SELECT to_tsquery('english', 'corporation & !corporative');
to_tsquery
----------------------
'corpor' & !'corpor'
IMHO, it shouldn't stem cars to car, neither corporative to corpor. There
are several examples where it could lead to incorrect results.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера