athos7933 / ElasticsearchComponent

Toolbox for Elasticsearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BiiG Elasticsearch component

Build Status

This library is designed to give you some set of classes you define almost all the time if you use Elastica. This is based on Elastica and do not much for you except standard behavior.

This component will automatically install symfony/console (+ some other Sf components) and ruflin/elastica.

Features

  • Provide a command to create indexes based on yaml files (it uses symfony/command and is automatically registered if you use the bundle)
  • Define client as a service for Symfony if you uses the bundle

Integration to Symfony

Use the bundle :

<?php
// In your Kernel class
public function registerBundles()
{
      return array(
          // ...
          new \Biig\Component\Elasticsearch\Integration\Symfony\ElasticsearchBundle(),
          // ...
      );
}

To learn more about the Symfony integration, please checkout the related section of the documentation.

About

Toolbox for Elasticsearch


Languages

Language:PHP 100.0%