Pre-release
This release is a pre-release and may not be stable for production use.
# django-multilingual-search
A multilingual Haystack plugin for Django and Elasticsearch.
The module is a drop-in replacement for the Haystack `ElasticsearchSearchEngine`.
Instead of a single index it creates an index for each language specified in `settings.LANGUAGES`.
A query is routed to the index of the currently active language.
[](https://travis-ci.org/sbaechler/django-multilingual-search)
## Installation
Install with pip:
pip install django-multilingual-search
The major and minor versions of this project correspond to the Haystack version the package was
tested against. This version is for Haystack 2.3.1.
## Configuration
The app provides a drop-in replacement for the ElasticsearchEngine of Haystack.
To use it, specify this engine in `settings.py`:
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'multilingual.elasticsearch.ElasticsearchMultilingualSearchEngine',
'URL': 'http://127.0.0.1:9200/',
'INDEX_NAME': 'myproject',
},
}
For automatic indexing of new entries the Haystack
[signal processors](http://django-haystack.readthedocs.org/en/latest/signal_processors.html)
can be used without modification.
## Contributing
Please read the [Contributing](./CONTRIBUTING.md) guide.
## Release History
- 2.3.0: First release
A multilingual Haystack plugin for Django and Elasticsearch.
The module is a drop-in replacement for the Haystack `ElasticsearchSearchEngine`.
Instead of a single index it creates an index for each language specified in `settings.LANGUAGES`.
A query is routed to the index of the currently active language.
[](https://travis-ci.org/sbaechler/django-multilingual-search)
## Installation
Install with pip:
pip install django-multilingual-search
The major and minor versions of this project correspond to the Haystack version the package was
tested against. This version is for Haystack 2.3.1.
## Configuration
The app provides a drop-in replacement for the ElasticsearchEngine of Haystack.
To use it, specify this engine in `settings.py`:
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'multilingual.elasticsearch.ElasticsearchMultilingualSearchEngine',
'URL': 'http://127.0.0.1:9200/',
'INDEX_NAME': 'myproject',
},
}
For automatic indexing of new entries the Haystack
[signal processors](http://django-haystack.readthedocs.org/en/latest/signal_processors.html)
can be used without modification.
## Contributing
Please read the [Contributing](./CONTRIBUTING.md) guide.
## Release History
- 2.3.0: First release
Release files for django-multilingual-search 2.3.0.beta
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-multilingual-search-2.3.0.beta.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django-multilingual-search-2.3.0.beta.macosx-10.10-intel.tar.gz | Details |
Total release size: 13.2 kB
Release files / django-multilingual-search-2.3.0.beta.tar.gz
| Download URL | django-multilingual-search-2.3.0.beta.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cea7d6291375f0bcdd55815e6c85f6ac26d6f3dd2bf9b23c9cbe3912a12d585
|
|
BLAKE2b-256 checksum How to use checksums |
ee8b04b086cd401cb76688123732c7ee23b4236750bd7c43b0ba58a3a6938e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-multilingual-search-2.3.0.beta.macosx-10.10-intel.tar.gz
| Download URL | django-multilingual-search-2.3.0.beta.macosx-10.10-intel.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eba4a42a0ee9e88d6b9817e42b84c67bb62eda38e0814366d67d9367bc5f74b0
|
|
BLAKE2b-256 checksum How to use checksums |
f6cb52aeb193783b1b0d609cd5c1e8ed127c72b9f031337cc9abdefd418201d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |