amy-jung / collectivedaoarchives.catalog

The Collective DAO Catalog is an open source index of DAO historical events. Together, as an open source database that anyone can contribute to, we can use the power of collective intelligence to highlight patterns and improve the development of new and existing DAOs
https://www.daocatalog.xyz/
MIT License
6 stars 1 forks source link

postgres text search not working properly #28

Closed carletex closed 12 months ago

carletex commented 1 year ago

e.g. https://collectivedaoarchives-catalog.vercel.app/search?q=governance

image

For some words (that exist in a lot of the records) search doesn't seem to work.

Let's find out what could be the issue.

carletex commented 1 year ago

Since merging #32 I noticed that something might be wrong with the search query, which is related to this issue.

e.g.

https://collectivedaoarchives-catalog.vercel.app/search?q=governance

image

Page 2 works: https://collectivedaoarchives-catalog.vercel.app/search?q=governance&page=2 image

cc @damianmarti

damianmarti commented 1 year ago

@carletex thanks!! I will take a look!

damianmarti commented 1 year ago

@carletex It's weird. It's working right on my local env. Does it work ok in your local environment?

carletex commented 12 months ago

@damianmarti yes, the same error was showing on my local environment.

I fixed here: #33

damianmarti commented 12 months ago

@damianmarti yes, the same error was showing on my local environment.

I fixed here: #33

Thanks!!