2017 © Pedro Peláez
 

library elastic-search-sql-php

elastic search package for formatting with php

image

aman.j/elastic-search-sql-php

elastic search package for formatting with php

  • Wednesday, December 14, 2016
  • by amanjain1992
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

elasticsearch-integrated -php, (*1)

Installation

elasticsearch-integrated -php is installed via Composer. To install, simply add it to your composer.json file:, (*2)

{
    "require": {
        "sinfini/elastic-search-sql-php": "dev-master"
    }
}

And run composer to update your dependencies:, (*3)

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

Basic Usage

It helps to return elastic search result into array format using php, (*4)

include ('vendor/autoload.php');

use  Elasticsearch\Php;

$map = new \Elasticsearch\Php\ElasticSearchSqlConverter();
$jsonData = <Query output data from elastic search>;
$handler  = $map->create($jsonData, 1, 1, 1);

The Versions

14/12 2016

dev-master

9999999-dev

elastic search package for formatting with php

  Sources   Download

MIT

by Aman jain