This version of the bundle requires Symfony 3.4+.
composer require chaplean/elasticsearch-bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new Chaplean\Bundle\ElasticsearchBundle\ChapleanElasticsearchBundle(),
];
// ...
}
// ...
}
chaplean_elasticsearch:
indexes:
<key>: <index_name>