phlexible/indexer-storage-elastica-bundle

phlexible indexer storage elastica bundle

1.1.3 2017-04-19 11:45 UTC

This package is auto-updated.

Last update: 2024-11-08 07:38:31 UTC


README

The PhlexibleIndexerStorageElasticaBundle adds support for elasticsearch indexes in phlexible.

Installation

  1. Download PhlexibleIndexerStorageElasticaBundle using composer
  2. Enable the Bundle
  3. Clear the symfony cache

Step 1: Download PhlexibleIndexerStorageElasticaBundle using composer

Add PhlexibleIndexerBundle by running the command:

$ php composer.phar require phlexible/indexer-storage-elastica-bundle "~1.0.0"

Composer will install the bundle to your project's vendor/phlexible directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Phlexible\Bundle\IndexerStorageElasticaBundle\PhlexibleIndexerStorageElasticaBundle(),
    );
}

Step 3: Clear the symfony cache

If you access your phlexible application with environment prod, clear the cache:

$ php app/console cache:clear --env=prod