debshots/app/controllers
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
..
concerns Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00
users Added audit logging for users logging in via oauth 2021-04-26 23:08:10 +02:00
admin_controller.rb Forgot to run tests 2021-02-28 22:07:33 +01:00
application_controller.rb Audit logging improved. References users, screenshots, packages 2021-03-03 23:21:24 +01:00
json_controller.rb return approved screenshots only in public json. fixes #96 2026-02-04 00:10:26 +01:00
moderate_controller.rb Recovered moderate controller 2021-02-28 21:45:31 +01:00
my_controller.rb My views improved. Own screenshots view added 2021-03-09 22:43:58 +01:00
packages_controller.rb Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
users_controller.rb Unused methods in user controller disabled 2017-04-19 13:07:33 +02:00
welcome_controller.rb lab 2025-04-11 09:39:33 +02:00