debshots/app
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
..
assets Update gems and npm packages 2026-05-21 22:32:32 +02:00
controllers Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
helpers move shrine files out of public. use x-sendfile to send files for security. 2025-06-16 00:24:11 +02:00
javascript disable turbo. unwanted side effects. 2025-05-13 01:19:03 +02:00
jobs Massive revamping for Rails 8 and Zurb 2025-03-16 00:44:43 +01:00
mailboxes Rails update. Fancybox update. Migrations from Paperclip. 2020-10-19 18:49:47 +02:00
mailers Email sender fixed for notifications 2021-03-21 16:24:46 +01:00
models Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
uploaders Allow uploads of images up to 8000x8000 but shrink to 2000x2000 2021-02-18 02:00:34 +01:00
views Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00