retrospring/config
Georg Gadinger c14bae74d5 attempt to add pg_search
this commit is an attempt at building a search functionality using only
the stuff provided by postgresql

it is, unfortunately, painfully slow:

    PgSearch::Document Load (7869.1ms)  SELECT "pg_search_documents".* FROM "pg_search_documents" INNER JOIN (SELECT "pg_search_documents"."id" AS pg_search_id, (ts_rank((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))), (to_tsquery('simple', ''' ' || 'awoo' || ' ''')), 0)) AS rank FROM "pg_search_documents" WHERE ((to_tsvector('simple', coalesce("pg_search_documents"."content"::text, ''))) @@ (to_tsquery('simple', ''' ' || 'awoo' || ' ''')))) AS pg_search_ce9b9dd18c5c0023f2116f ON "pg_search_documents"."id" = pg_search_ce9b9dd18c5c0023f2116f.pg_search_id ORDER BY pg_search_ce9b9dd18c5c0023f2116f.rank DESC, "pg_search_documents"."id" ASC LIMIT $1  [["LIMIT", 10]]
2023-10-22 18:13:26 +02:00
..
environments use .env and support SMTP configuration 2023-09-05 22:25:19 +02:00
initializers Upgrade Devise to 4.9.0 2023-03-26 18:28:36 +02:00
locales Merge pull request #1196 from Retrospring/feature/turbo-comments 2023-10-16 18:02:46 +02:00
questions questions: remove "where do you..." 2023-02-15 23:12:36 +01:00
application.rb remove flag leftovers 2023-01-05 10:37:44 +01:00
boot.rb Add Bootsnap 2022-07-19 22:54:03 +02:00
database.yml.postgres Set up GitHub Actions (#72) 2020-04-20 21:02:48 +01:00
environment.rb Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
i18n.yml Make i18n-js configuration compatible with 4.x 2022-10-10 21:40:41 +02:00
justask.yml.example Remove Twitter API key config values 2023-02-05 21:54:51 +01:00
puma.rb Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
routes.rb attempt to add pg_search 2023-10-22 18:13:26 +02:00
secrets.yml Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
sidekiq.yml Handle push notifications in Sidekiq job 2023-01-02 11:50:48 +01:00
spring.rb Upgrade to Rails 5 2020-04-19 00:59:22 +02:00