Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
executable file 40 lines (30 sloc) 2.16 KB

Elastica: elasticsearch PHP Client

Build Status


Check out the Elastica documentation to find out how Elastica works. If you have questions, don't hesitate to ask them in the Elastica google group. Issues should go to the issue tracker from github.


PHP client for the distributed search engine elasticsearch which is based on Lucene and can be an alternative to solr. The client naming and structure is consistent with Zend Framework and other PHP frameworks. This makes it easy to use the client in combination with Zend Framework.


For changes in the API please check the file changes.txt


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


At the moment the client should be backward compatible to PHP 5.2. That's the reason why the client was not directly built with namespaces and other nice PHP 5.3 features.

File indexing

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

./bin/plugin install mapper-attachments


Help is very welcomed, but code contributions must be done in respect of PSR-2.

See Coding guidelines for tips on how to do so.

Jump to Line
Something went wrong with that request. Please try again.