Skip to content
Celastica is elasticsearch client writen in Zephir.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
elastica
unit-tests
.coveralls.yml
.gitignore
README.md
config.json
travis.yml

README.md

Celastica: elasticsearch Client

Celastica is an open source elasticsearch client delivered as a C extension for the PHP language providing high performance and lower resource consumption. It is direct port of Ruflin PHP Client for elasticsearch Elastica.

This readme provides an introduction to contributing to Elastica

Get Started

Clone Elastica repo:

git clone -b https://github.com/ariskemper/celastica.git

Clone zephir repo:

git clone https://github.com/phalcon/zephir.git

Clone json-c repo:

git clone https://github.com/json-c/json-c.git

Install required packages:

sudo apt-get install php5-dev gcc make re2c libpcre3-dev

Compile json-c:

cd json-c
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
cd ..

Compile zephir:

cd zephir
sudo ./install
cd ..

Compile celastica:

cd celastica
../zephir/bin/zephir generate
../zephir/bin/zephir compile

Add extension to your php.ini

extension=elastica.so

Finally restart/reload php

External Links

Dependencies

| Project | Version | Required | |---------|---------|----------||Elasticsearch|1.1.1|yes| |Zephir|0.4.0a|yes| |Json-C|0.10|yes| |Elasticsearch|1.1.1|yes| |Elasticsearch mapper attachments plugin|2.0.0.RC1|no| |Elasticsearch geocluster facet plugin|0.0.10|no|

License

Celastica is open-sourced software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.

You can’t perform that action at this time.