fiolasoft/elasticsearch

Itegration of elasticsearch/elasticsearch into Nette framework

v0.1 2018-04-25 06:49 UTC

README

This is integration of elasticsearch/elasticsearch (elastic/elasticsearch-php) into Nette framework.

Build status

Build Status Coverage Status License

Packagist stats

Packagist Downloads Packagist Downloads per month Packagist Packagist Pre Release

Installation

Via composer:

composer require fiolasoft/elasticsearch

Register extension in your config.neon:

extensions:
    elasticsearch: FiolaSoft\Elasticsearch\DI\ElasticsearchExtension

Configuration

Minimal configuration

elasticsearch:
    hosts:
      - 'localhost'

Advanced configuration

elasticsearch:
    hosts:
        -
            host: 'localhost'
            port: 9200
            scheme: 'https'
            user: 'foo'
            pass: 'bar'

NOTE: The host is required, others are recommanded, but not necessary.

Find out more about elasticsearch/elasticsearch (elastic/elasticsearch-php).

And there is Elasticsearch docs

TODO

Future plans

  • tracy debug panel listing all queries, full result inspection *Yes, I take some inspiration from kdyby/elasticsearch