debshots/lib/tasks
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
accesslog2visits.rake Speed improvement in updating database 2016-08-11 11:20:37 +02:00
add_admin.rake add Rake task to create admin users 2025-05-21 00:23:51 +02:00
import_debian.rake fix package comparison 2026-05-21 00:40:22 +02:00
purge_old_logs.rake added job to purge old log files 2025-06-23 00:46:32 +02:00
remove_broken_screenshots.rake Rake task fixed for Shring 2021-02-25 00:14:08 +01:00
remove_image_duplicates.rake Using created_at instead of legacy 'uploaddatetime' field 2016-03-04 15:41:50 +01:00
shrine_recreate_derivatives.rake Added rake task to create derivates after migration 2020-11-12 22:28:29 +01:00
vectorize_packages.rake Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00