2017 © Pedro Peláez
 

library ocra-elastic-search

Elastic search Module for Zend Framework 2 applications based on Doctrine's ObjectManager

image

ocramius/ocra-elastic-search

Elastic search Module for Zend Framework 2 applications based on Doctrine's ObjectManager

  • Thursday, July 9, 2015
  • by Ocramius
  • Repository
  • 2 Watchers
  • 16 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status Dependency Status, (*1)

OcraElasticSearch Module

WIP: this library is under heavy development - use it at your own risk until I tag a stable release!, (*2)

This library is a small integration layer between Zend Framework 2, Doctrine's Object managers (ORM/ODM being equally supported) and ElasticSearch., (*3)

It uses Elastica as an adapter to communicate with the ElasticSearch server, and can handle runtime conversion of any mapped POPO to an ElasticSearch document. It also provides logic to fetch ElasticSearch documents and look them up in the currently configured ObjectManager, (*4)

Installation

Typical installation method is through composer:, (*5)

php composer.phar require ocramius/ocra-elastic-search:1.0.*

The basic working concept can be summarized in the following graph:, (*6)

![OcraElasticSearch basic working concept](http://yuml.me/diagram/scruffy;/class/[ObjectManager]writes->[ElasticSearch], [ElasticSearch]reads->[ObjectManager], [Zend Framework 2]consumes->[ObjectManager], [Zend Framework 2]consumes->[ElasticSearch].svg), (*7)

Documentation

Please refer to the docs/ directory to get started, (*8)

The Versions