FarhanAliRaza/django-hawkeye
Django BM25 full-text search using PostgreSQL - a lightweight Elasticsearch alternative
Leverages the pg_textsearch PostgreSQL extension to implement BM25 ranking directly within the database, eliminating external infrastructure while maintaining tunable parameters (k1, b) for relevance control. Provides both a high-level mixin API for simple Django model integration and low-level `BM25Score` expressions for multi-field weighted searches with custom ranking logic.
Available on PyPI.
Stars
69
Forks
2
Language
Python
License
—
Category
Last pushed
Jan 07, 2026
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/FarhanAliRaza/django-hawkeye"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
beir-cellar/beir
A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across...
superlinear-ai/raglite
🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL
HKUDS/LightRAG
[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"
illuin-tech/vidore-benchmark
Vision Document Retrieval (ViDoRe): Benchmark. Evaluation code for the ColPali paper.
HKUDS/RAG-Anything
"RAG-Anything: All-in-One RAG Framework"