Skip to main content

A Django app to use RediSearch as a search backend in Wagtail.

Project description

!PyPi version !Python versions !CI/CD status !Code coverage status !Formatted with Black


A Django app to use RediSearch as a search backend in Wagtail.


  • Django >= 3.2
  • Wagtail >= 2.15
  • RediSearch v2


Install wagtail-redisearch from PyPi.

In your add "wagtail_redisearch" to INSTALLED_APPS and configure your search backend as follows:


    "default": {
        "BACKEND": "wagtail_redisearch",
        # optional parameters
        "INDEX": "custom-index-name", # default: "wagtail"
        "HOST": "",
        "PORT": 6379,
        # you can add any option here to be used when initializing
        # a Redis client with redis-py.
        # e.g.
        "retry_on_error": True

For more information about what options you can pass to the Redis client, look at the official documentation.

wagtail-redisearch implements the interfaces described in Backends Rolling your own, thus usage in Wagtail requires no special adjustment.

To configure search on your models, follow the official Wagtail documentation.


To contribute to this project you'll need RediSearch installed and poetry.

# install dependencies
poetry install

# run tests
make test

# run tests with tox
make test-all

# to run a minimal Wagtail application to test things out
make run

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-redisearch-0.4.0.tar.gz (9.7 kB view hashes)

Uploaded source

Built Distribution

wagtail_redisearch-0.4.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page