Commit graph

8 commits

Author SHA1 Message Date
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
e1f42aee0c rubocop 2025-06-26 23:34:51 +02:00
25672aabb0 Update to Rails 7.2 2025-02-25 21:57:16 +01:00
47df4d8afd Fix test suite 2021-03-02 00:51:24 +01:00
Christoph Haas
2746b22c18 upload screenshot anonymously, login in, get screenshots assigned 2018-08-21 18:25:18 +02:00
Christoph Haas
820ff2a30b Tests improved 2018-08-20 22:27:35 +02:00
ed99d198f0 Fixed controller tests 2015-04-23 17:20:06 +02:00
c2a695aec0 Packages controller added 2013-07-27 01:23:28 +02:00