biig/elasticsearch

Simple tools to interact with you elasticsearch infrastructure.

v1.2.2 2019-12-05 15:41 UTC

This package is auto-updated.

Last update: 2024-05-06 01:19:30 UTC


README

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.