A MeiliSearch backend for Wagatil
Project description
Wagtail MeiliSearch
This is a (beta) Wagtail search backend for the https://github.com/meilisearch/MeiliSearch search engine.
Installation
poetry add wagtail_meilisearch
or pip install wagtail_meilisearch
Configuration
See the [https://docs.meilisearch.com/guides/advanced_guides/installation.html#environment-variables-and-flags](MeiliSearch docs) for info on the values you want to add here.
WAGTAILSEARCH_BACKENDS = {
'default': {
'BACKEND': 'wagtail_meilisearch.backend',
'HOST': os.environ.get('MEILISEARCH_HOST', 'http://127.0.0.1'),
'PORT': os.environ.get('MEILISEARCH_PORT', '7700'),
'MASTER_KEY': os.environ.get('MEILI_MASTER_KEY', '')
},
}
Contributing
If you want to help with the development I'd be more than happy. The vast majority of the heavy lifting is done by MeiliSearch itself, but there is a TODO list...
TODO
- Faceting
- Implement boosting in the sort algorithm
Search resultsAdd support for the autocomplete apiEnsure we're getting results by relevance- Write tests
- Performance improvements - particularly in the autocomplete query compiler which for some reason seems slower than the regular one.
Thanks
Thank you to the devs of https://github.com/wagtail/wagtail-whoosh. Reading the code over there was the only way I could work out how Wagtail Search backends are supposed to work.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wagtail-meilisearch-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed00de84585909a57a4c807244a8ce4bdeb30d98616a1fab4e890e148b67ade |
|
MD5 | cf7b4ce8220ad40f23f2f2dafcf32c72 |
|
BLAKE2b-256 | 7bfa1c51f7aa606264a559081e9bebfefb1cd3f23cbccbd9e765b50084e2f70d |
Hashes for wagtail_meilisearch-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e86a0370016797f7f2120c2d34528c3fee5e2e3e21ae97d37a5c1618762661 |
|
MD5 | 30204e9040629609cee5ef12ae981d69 |
|
BLAKE2b-256 | 8e68808bf029ae197c4729bf3223228e7032bdcd684f83012d411ac6680eddfb |