Bring the full power of ParadeDB into Django.
Build sophisticated, composable search queries effortlessly, and leverage advanced indexing, search, and ranking at blazing speed β all inside PostgreSQL.
Features¶
- Full-text search backed by ParadeDBβs BM25 index
- Rich expressions and lookups:
MatchRangeTermBoolean- Range queries and more
- Aggregations
- Extension support for ParadeDB
pg_search - Support for V2 syntax
- Full Json and Arrayfield Query Support
- Custom ParadeDB operators for
JSONFieldand SubScript (see JsonOp Expression) - And more...
Supported Versions¶
- >= 0.19.11
- 0.20+
Install on Ubuntu¶
sudo apt-get install -y libicu70
curl -L "https://github.com/paradedb/paradedb/releases/download/v0.19.6/postgresql-17-pg-search_0.19.6-1PARADEDB-noble_amd64.deb" -o /tmp/pg_search.deb
sudo apt-get install -y /tmp/*.deb
Configure PostgreSQL¶
Edit postgresql.conf
shared_preload_libraries = 'pg_search'
Restart PostgreSQL and create the extension:
CREATE EXTENSION IF NOT EXISTS pg_search;
β Facing issues or need more details? See ParadeDB installation:
Install Python Package¶
Make sure the pg_search extension from ParadeDB is installed in your PostgreSQL database.
If not installed, see: Installation Guide
pip install paradedb-django
Add to INSTALLED_APPS¶
INSTALLED_APPS = [
...,
'paradedb',
]
You're Ready π¶
You can now start using ParadeDB features inside Django.