Elastica

A PHP client for elasticsearch.

Fork me on GitHub

Elastica

Latest Stable Version Coverage Status Dependency Status Total Downloads

Elastica.io is the documentation for Elastica, a PHP client for elasticsearch. Elastica is open source and you can download or clone the source code on Github from ruflin/Elastica.

These pages should give you an overview of how to use Elastica. You can find the complete API here. Any contributions to the documentations are highly welcome. Elastica.io is based on Octopress and is hosted on Github. Fork your copy from ruflin/Elastica.io and open a pull request.

Versions

The version numbers are consistent with elasticsearch. The version number 0.16.0.0 means it is the first release for elasticsearch version 0.16.0. The next release is called 0.16.0.1. As soon as the elasticsearch is updated and the client is updated, also the next version is called 0.16.1.0. Like this it should be always clear to which versions the Elastica client is compatible.

Compatibilitiy

Elastica is tested with PHP 5.3.3 and later. Versions prior and equal to v0.19.8.0 are compatible with PHP 5.2

File indexing

File upload is supported but the mapper attachement plugin has to be installed

1
./bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/1.9.0

Credits

Credits go to all users that gave feedback and committed code.