Registry / networking / munkie-elasticsearch-thrift-php

munkie-elasticsearch-thrift-php

JSON →
library1.4.2phppackagistunverified

ElasticSearch PHP Thrift transport client. Generated from elasticsearch-transport-thrift plugin thrift file

composer require munkie/elasticsearch-thrift-php
INSTALL
IMPORT
SIG · MUNKIE-ELASTICSEAR
M
munkie-elasticsearch-thrift-php
networkingphpv1.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Munkie\Elasticsearch\Thrift\Client;

Connect to Elasticsearch via Thrift transport and perform a search.

use Munkie\Elasticsearch\Thrift\Client; $client = new Client(['hosts' => ['localhost:9500']]); $response = $client->search(['index' => 'my_index', 'body' => ['query' => ['match_all' => new \stdClass()]]]);
Debug
Known issues
breakingRequires Thrift PHP extension installed.
fix
Install the thrift extension via pecl or compile from source.
affects: >=1.0.0
Upgrade
Version history
1.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources