ppetzold / nestjs-paginate

Pagination and filtering helper method for TypeORM repositories or query builders using Nest.js framework :book::paperclip:
MIT License
438 stars 99 forks source link

Implement tsvector/tsquery search support for texts in Postgres databases #669

Open Alfagun74 opened 1 year ago

Alfagun74 commented 1 year ago

I request the addition of tsvector/tsquery search support to nestjs-paginate. This feature, highlighted in a recent article (source: https://xata.io/blog/postgres-full-text-search-engine), enables fast and reliable full-text searches in Postgres databases. After discovering a related Stack Overflow answer (source: https://stackoverflow.com/a/64450994) that demonstrated its implementation with TypeORM, I believe extending this functionality to nestjs-paginate would greatly benefit us, because ilike is very slow and non fuzzy enough.

ppetzold commented 1 year ago

Sounds good to me. Happy to accept PR :)

Alfagun74 commented 1 year ago

I understand, Philipp. I'm currently quite busy myself unfortunately. Hopefully, a volunteer will step in and give it a try. Otherwise, I'd still like to keep this open and investigate it when I have some free time. Thanks for the approval though!