retrospring/app/views
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
..
about Humanise numbers on about page 2023-02-17 15:58:46 +01:00
actions Add Stimulus sharing feature to answerboxes 2023-10-17 20:14:28 +02:00
admin Fix text alignment classes 2023-01-05 10:35:52 +01:00
answer Move subscribed answer IDs to an ivar 2023-05-05 16:01:46 +02:00
answerbox Move comments to a turbo frame 2023-10-15 18:42:30 +02:00
application Move reactions to separate view/endpoint 2023-10-15 18:42:30 +02:00
auth Change ID of 2FA form 2023-01-04 12:34:19 +01:00
comment Move reactions to separate view/endpoint 2023-10-15 18:42:30 +02:00
devise Disable Turbo on registration form 2023-10-17 21:48:49 +02:00
discover Appease the robot dog 2023-05-07 20:35:00 +02:00
feedback views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
inbox Add support for sharing dialog in inbox answer sharing 2023-10-17 20:14:28 +02:00
layouts Add hotkey help window 2023-04-29 09:34:28 +02:00
link_filter Fix font-weight classes for Bootstrap 5 2023-01-05 10:35:52 +01:00
modal Respect long question setting in frontend 2023-01-08 17:12:46 +01:00
moderation Add Stimulus controller for handling hotkeys 2023-04-29 09:34:28 +02:00
navigation Fix typo 2023-08-18 19:41:21 +02:00
notifications Update inbox/notification counters when paginating 2023-06-16 18:07:53 +02:00
question Move subscribed answer IDs to an ivar 2023-05-05 16:01:46 +02:00
reaction Move reactions to separate view/endpoint 2023-10-15 18:42:30 +02:00
search attempt to add pg_search 2023-10-22 18:13:26 +02:00
settings Name label iOS instead of iPhone 2023-10-16 15:27:34 +02:00
shared Fix 500 when not logged in 2023-05-07 15:10:31 +02:00
tabs Add Settings::SharingController 2023-02-05 21:54:51 +01:00
timeline Move subscribed answer IDs to an ivar 2023-05-05 16:01:46 +02:00
user Set rel=me on website link in profiles 2023-10-17 19:52:00 +02:00