Unclaimed project
Are you a maintainer of torus? Claim this project to take control of your public changelog and roadmap.
Changelog
Torus bridges Ecto and PostgreSQL, simplifying building search queries.
Torus.bm25/5 macroBM25 is a modern ranking algorithm that generally provides superior relevance scoring compared to traditional TF-IDF (used by full_text/5). This integration uses the pg_textsearch extension by Timescale.
See it in action on the demo page
Torus.bm25/5 + limit)Post |> Torus.bm25([p], p.body, "search term") |> limit(10):score_key and post-filtering with :score_thresholdtext_configtext_config for language)See the BM25 Search Guide for detailed setup instructions and examples.
bm25/5 for fast single-column search with modern relevance rankingfull_text/5 for multi-column search with weights or when using stored tsvector columnsSimple, open source, lightweight and privacy-friendly web analytics alternative to Google Analytics.
Elixir is a dynamic, functional language for building scalable and maintainable applications
Peace of mind from prototype to production
A self-hosted data logger for your Tesla ๐ [main maintainer=@JakobLichterfeld]