FarhanAliRaza/django-hawkeye

Django BM25 full-text search using PostgreSQL - a lightweight Elasticsearch alternative

36
/ 100
Emerging

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.

No License
Maintenance 10 / 25
Adoption 8 / 25
Maturity 14 / 25
Community 4 / 25

How are scores calculated?

Stars

69

Forks

2

Language

Python

License

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.