This is integration of elasticsearch/elasticsearch (elastic/elasticsearch-php) into Nette framework.
composer require fiolasoft/elasticsearch
Register extension in your
extensions: elasticsearch: FiolaSoft\Elasticsearch\DI\ElasticsearchExtension
elasticsearch: hosts: - 'localhost'
elasticsearch: hosts: - host: 'localhost' port: 9200 scheme: 'https' user: 'foo' pass: 'bar'
host is required, others are recommanded, but not necessary.
Find out more about elasticsearch/elasticsearch (elastic/elasticsearch-php).
And there is Elasticsearch docs
- tracy debug panel listing all queries, full result inspection *Yes, I take some inspiration from kdyby/elasticsearch
- created the package and added test(s) + coding-standard, you can find more in README.md