debshots/config/initializers
Christoph Haas 4948fe50e3 Add semantic package search via pgvector embeddings
Package text search now combines several strategies: exact name match,
name prefix promotion, compound word splitting ("sqlite browser" finds
"sqlitebrowser") and semantic nearest neighbor search over description
embeddings computed by an external embedding service (all-MiniLM-L6-v2,
384 dims) stored with the pgvector extension. Classic PostgreSQL
full-text search remains as fallback when the vector service is
unreachable. Gibberish queries without lexical overlap with the package
data return empty results instead of random matches.

Embeddings can be backfilled with bin/rails debshots:compute_vectors.

Also drops the unused lograge gem from the Gemfile.
2026-08-22 22:07:56 +02:00
..
application_controller_renderer.rb Upgrade from Rails 5.0 to 5.2 2020-04-14 02:16:25 +02:00
assets.rb rails 8.0.2 to 8.1. lograte for logging. 2026-02-25 00:09:25 +01:00
backtrace_silencers.rb General Rails and Ruby updates 2021-05-28 21:07:45 +02:00
better_errors.rb Make BetterErrors open vscode 2021-02-07 14:14:03 +01:00
content_security_policy.rb rails 8.0.2 to 8.1. lograte for logging. 2026-02-25 00:09:25 +01:00
cookies_serializer.rb Further updates to Rails 5.0.2 2017-04-17 00:16:32 +02:00
devise.rb use APP_BASE_URL to create oauth callback URLs 2025-06-08 20:23:18 +02:00
filter_parameter_logging.rb Massive revamping for Rails 8 and Zurb 2025-03-16 00:44:43 +01:00
healthcheck.rb Trying to fix healthchecks again that suddenly fail 2021-04-26 23:54:37 +02:00
inflections.rb Merge branch 'prod' 2023-12-26 01:21:15 +01:00
mime_types.rb Updated Rails version to 5.0.2 2017-04-16 23:59:05 +02:00
new_framework_defaults.rb framework defaults tidied up for rails 7 2024-07-15 00:06:08 +02:00
new_framework_defaults_7_0.rb Merge branch 'prod' 2023-12-26 01:21:15 +01:00
new_framework_defaults_7_1.rb Merge branch 'prod' 2023-12-26 01:21:15 +01:00
new_framework_defaults_7_2.rb Update to Rails 7.2 2025-02-25 21:57:16 +01:00
new_framework_defaults_8_0.rb Massive revamping for Rails 8 and Zurb 2025-03-16 00:44:43 +01:00
new_framework_defaults_8_1.rb rails 8.0.2 to 8.1. lograte for logging. 2026-02-25 00:09:25 +01:00
permissions_policy.rb Update to Rails 7.2 2025-02-25 21:57:16 +01:00
rails_icons.rb align icons properly with text 2025-06-18 02:06:50 +02:00
recaptcha.rb Google's recaptcha removed. Avoid external dependencies. 2017-04-05 16:26:23 +02:00
secret_token.rb Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00
session_store.rb Updated Rails version to 5.0.2 2017-04-16 23:59:05 +02:00
shrine.rb move shrine files out of public. use x-sendfile to send files for security. 2025-06-16 00:24:11 +02:00
will_paginate.rb Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
wrap_parameters.rb Updated Rails version to 5.0.2 2017-04-16 23:59:05 +02:00