2017 © Pedro Peláez
 

symfony-bundle elastic-bundle

Simple elasticsearch Symfony integration.

image

nimble/elastic-bundle

Simple elasticsearch Symfony integration.

  • Monday, October 17, 2016
  • by pinkeen
  • Repository
  • 2 Watchers
  • 0 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 1 % Grown

The README.md

NimbleElasticBundle

Scrutinizer SensioLabsInsight, (*1)

A simple bundle that integrates elasticsearch into your Symfony project using the official elasticsearch PHP client., (*2)

Why another elasticsearch bundle?

Most ES bundles I found assume that one entity is one ES document. This is very limiting, as very often denormalization is needed with more complex data. Your domain model does not need to be reflected in your elasticsearch mapping., (*3)

Also the most popular bundle does not give you an easy way to update the "master" document when any of your child entities change. This should be simple with this bundle., (*4)

This bundle directly exposes the official elasticsearch Client without wrapping it too much. I don't see much reason (besides rudimentary error checking) for using any query builders when most queries can be built dynamically as array and serialized to JSON directly., (*5)

This bundle provides only basic functionalities, which means you will have to write more code, but gives you flexiblity in return. For example: * A mechanism for synchronizing your entities with ES is provided (doctrine listeners or you have to dispatch create/update/delete events manually). * A mechanism for transforming your entities into ES documents is provided but you have to write the actual transformer yourself. This is better for performance and a must if you want flexibility. It also allows you completetly decouple the ES from your model (no unnecessary getters needed on your entities, yay!). * No mechnanism for automagically transforming ES results back into your entities will be ever provided (probably), because this would seriously limit the flexibility. Usually you could implement this yourself in a few lines, with your performance considerations in mind., (*6)

It will have great docs. ;), (*7)

Installation

The usual Symfony stuff., (*8)

The composer.json needs: "nimble/elastic-bundle": "dev-master@dev",., (*9)

The AppKernel.php needs: new Nimble\ElasticBundle\NimbleElasticBundle(),., (*10)

The Versions

17/10 2016

v0.32

0.32.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

17/10 2016

dev-master

9999999-dev

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

17/10 2016

v0.31

0.31.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

09/04 2016

v0.30

0.30.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

08/04 2016

v0.27

0.27.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

08/04 2016

v0.26

0.26.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

14/01 2016

v0.25

0.25.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

12/08 2015

v0.2

0.2.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

11/08 2015

dev-es20

dev-es20

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

17/07 2015

v0.1

0.1.0.0

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

10/07 2015

dev-experiment

dev-experiment

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony

08/04 2015

dev-check_mapping

dev-check_mapping

Simple elasticsearch Symfony integration.

  Sources   Download

MIT

The Requires

 

The Development Requires

elasticsearch bundle symfony