2017 © Pedro Peláez
 

library zf-elasticsearch

A very simple but drop-in zf2 module for the elasticsearch client library.

image

enrise/zf-elasticsearch

A very simple but drop-in zf2 module for the elasticsearch client library.

  • Tuesday, August 16, 2016
  • by rtuin
  • Repository
  • 11 Watchers
  • 7 Stars
  • 4,449 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 4 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Archived and unmaintained

This is an old repository that is no longer used or maintained. We advice to no longer use this repository., (*1)

Original README can be found below:

ZF2 Elasticsearch Module

Latest Stable Version License, (*2)

This repository contains a very simple but drop-in solution for using the elasticsearch client library in a ZF2 project., (*3)

The client is pre-configured with sensible defaults. You can further configure the client in the module config just as you would configure the elasticsearch client directly., (*4)

Usage example

$searchClient = $serviceLocator->get('elasticsearch');
$searchClient->search();

Installation

Require the module via composer:, (*5)

$ composer require enrise/zf-elasticsearch

Load the module in your application:, (*6)

// config/application.config.php
return array(
    'modules' => array(
        // ...
        'Enrise\\ZfModule\\ElasticSearch',
    )
);

And you're done!, (*7)

Configuration example

To fine-tune your installation you can tweak the elasticsearch client configuration. For example:, (*8)

// In your config file
return [
    'elasticsearch' => [
        'hosts' => [
            'es1.enrise.com',
            'es2.enrise.com'
        ],
        'logging' => true
    ]
];

Dependencies

  • elasticsearch/elasticsearch:^1.0

License

Please see the LICENSE file in this repository, (*9)

Contributors

This zend framework module was made by Richard Tuin., (*10)

The Versions

16/08 2016

dev-master

9999999-dev

A very simple but drop-in zf2 module for the elasticsearch client library.

  Sources   Download

MIT

The Requires

 

elasticsearch zf2 zend framework

16/08 2016

1.0.1

1.0.1.0

A very simple but drop-in zf2 module for the elasticsearch client library.

  Sources   Download

MIT

The Requires

 

elasticsearch zf2 zend framework

04/04 2015

1.0.0

1.0.0.0

A very simple but drop-in zf2 module for the elasticsearch client library.

  Sources   Download

MIT

The Requires

 

elasticsearch zf2 zend framework