Addon for ElasticSearch integration with Plone
Project description
ElasticSearch Integration for Plone content
indexer passing content to a separate running collective.elastic.ingest service.
index acting as a proxy to ElasticSearch, integrates with ZCatalog
custom plugins for plone.restapi to provide structural information for the ingestions service
REST api endpoint @kitsearch accepting Elasticsearch query returning results with Plone permission check.
Installation
mxdev
Add collective.elastic.plone to your requirements.txt. Provide an environments variable file .env in your backend directory with:
export CELERY_BROKER=redis://localhost:6379/0 export ELASTICSEARCH_INDEX={{elasticsearchindex}} export ELASTICSEARCH_QUERY_SERVER={{elasticsearch_address}}
buildout
Install collective.elastic.plone by adding it to your buildout:
[buildout] ... eggs = ... collective.elastic.plone environment-vars += CELERY_BROKER redis://localhost:6379/0 ELASTICSEARCH_INDEX plone ELASTICSEARCH_QUERY_SERVER http://localhost:9200 ELASTICSEARCH_QUERY_USE_SSL 0
and then running bin/buildout
Source Code
The sources are in a GIT DVCS with its main branches at github. There you can report issue too.
We’d be happy to see many forks and pull-requests to make this addon even better.
Maintainers are Jens Klein, Peter Holzer and the BlueDynamics Alliance developer team. We appreciate any contribution and if a release is needed to be done on pypi, please just contact one of us. We also offer commercial support if any training, coaching, integration or adaptions are needed.
Contributions
Initial implementation was made possible by Evangelisch-reformierte Landeskirche des Kantons Zürich.
Idea and testing: Peter Holzer
Concept & code by Jens W. Klein
Authors:
Katja Süss (Github: @ksuess)
License
The project is licensed under the GPLv2.
Changelog
1.1.3 (2023-04-22)
Step back from ElasticSearch scroll API for deep pagination.
1.1.2 (2023-03-04)
Enhance response of @kitsearch on unavailable ElasticSearch or not found index [ksuess]
1.1.1 (2023-03-03)
Nothing changed yet.
1.1 (2023-03-03)
Search REST API service @kitsearch for ElasticSearch querying with Plone security check. [ksuess]
1.0 (2022-11-08)
Initial release. [jensens]
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 collective.elastic.plone-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd56190b095fe687c0625002aacce89fdc0b6bf07e8cd1d7ed42a2691b08c3b |
|
MD5 | a01bd05253c65be32ecfe89502ac80de |
|
BLAKE2b-256 | e73bcdce1cfe4b78803d478e5fdde500c29314dbe549a07e00bf70127f774423 |
Hashes for collective.elastic.plone-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502f4624889c74cdc74f1d915424adf3e4affceb7687c10bf8f082e67d57a061 |
|
MD5 | f78a65816544f09c8b4f4481983958f4 |
|
BLAKE2b-256 | 03049bb031a815a491f35d6a76e218a7ea545efa1e2f6e28f36789bbadf5daea |