debshots/app/views/packages
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
..
_admin_buttons.slim lucene icons added, styling fixed 2025-05-09 00:41:11 +02:00
_details_rightbox.slim recover broken apt:// link# 2025-05-13 01:19:15 +02:00
_details_uploadmodal.slim Restyling 2018-06-27 18:43:08 +02:00
_long_description.slim Added partial to display long description properly 2016-06-29 21:49:32 +02:00
_paginator.slim Clearer links in paginator 2021-02-14 18:01:46 +01:00
_receive_upload.slim remains of fontawesome 2025-06-08 16:34:16 +02:00
_reviews.slim Disabled Ubuntu reviews 2018-06-19 11:49:02 +02:00
_searchfield.slim Keep 'show' parameter when using text search 2016-08-16 18:41:06 +02:00
_sidebar.slim Sidebar links fixed 2014-12-29 17:56:45 +01:00
browse.slim Add semantic package search via pgvector embeddings 2026-08-22 22:07:56 +02:00
details.slim move shrine files out of public. use x-sendfile to send files for security. 2025-06-16 00:24:11 +02:00
legacy_uploadfile.slim Legacy upload method for images from Debshots 1.x implemented 2016-07-12 20:31:09 +02:00
notfound.slim Fix 404 for missing package 2021-02-14 16:51:55 +01:00
upload.slim fix icon. re-enable javascript to define upload paths 2025-05-13 01:19:37 +02:00
upload_receive.slim Dammit… I can't remember what I changed and why 2018-05-06 19:07:55 +02:00