falcony-io / sqlalchemy-searchable

Fulltext searchable models for SQLAlchemy. Only supports PostgreSQL
Other
262 stars 44 forks source link

test: fix 'parse_websearch' tests on PostgreSQL 14 and later #133

Closed jpvanhal closed 1 year ago

jpvanhal commented 1 year ago

In PostgreSQL 14, websearch_to_tsquery() has been fixed to properly parse query text containing discarded tokens. This affected the tests for parse_websearch() which is using websearch_to_tsquery() under the hood. Also, add PostgreSQL versions 11, 13, 14 and 15 to the build matrix. Previously, the tests were only run on PostgreSQL 12.