debshots/test/models
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
..
.keep Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00
log_test.rb Adding Log model for database-based log messages 2015-04-27 00:15:55 +02:00
package_test.rb Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
screenshot_test.rb Added automatically generated tests. 2013-08-06 22:36:04 +02:00
user_test.rb Removed "authlogic" completely. Let's try "devise". 2015-07-15 17:05:56 +02:00