Download the PHP package divante-ltd/pimcore-elasticsearch-plugin without Composer
On this page you can find all versions of the php package divante-ltd/pimcore-elasticsearch-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download divante-ltd/pimcore-elasticsearch-plugin
More information about divante-ltd/pimcore-elasticsearch-plugin
Files in divante-ltd/pimcore-elasticsearch-plugin
Package pimcore-elasticsearch-plugin
Short Description Flexible ElasticSearch Plugin for Pimcore - now with DSL!
License
Informations about the package pimcore-elasticsearch-plugin
PimcoreElasticsearchPlugin
Requirements
- PHP 7 or newer
- Pimcore 4
- Elasticsearch 5
- Composer
Installation
First step
via Composer
manually
- Download this repository into your plugins directory.
- Download manually dependencies (see composer.json).
- Follow next steps in this instruction.
Second step
Open Extension tab in admin panel and install plugin. After this, installation is finished.
Usage
How to use config service?
INFO: remember config service must be configured before you call elasticsearch service, e.g.: in plugin init method.
Creating index
It will create index in elasticsearch.
INFO: it allows only to create indices which where added to config service.
Removing index
It will remove index from elasticsearch.
Indexers
You need also to register this indexer, so it can work with reindex all command and event listeners like object.postAdd, etc.
From now everytime you add, edit or delete object which is instance of News class, it will be added, saved or deleted from elastic.
How to reindex everything?
If you want to reindex only e.g. objects:
How to search?
For more examples take a look here: http://docs.ongr.io/ElasticsearchDSL
About Authors
We are a Software House from Europe, headquartered in Poland and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.
Visit our website Divante.co for more information.
All versions of pimcore-elasticsearch-plugin with dependencies
pimcore/installer-plugin Version >=1
elasticsearch/elasticsearch Version ~2.0
ongr/elasticsearch-dsl Version 2.2.*