rocketphp/tweetnest

Search JSON tweet files by text and location - Elasticsearch.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:HTML

pkg:composer/rocketphp/tweetnest

dev-develop / 1.1.x-dev 2015-09-06 22:39 UTC

This package is not auto-updated.

Last update: 2025-10-01 15:31:34 UTC


README

RocketPHP\TweetNest uses Elasticsearch to search JSON tweet files by text and location.

To search tweets – start with an instance of TweetNest and search using arrays.

use RocketPHP\TweetNest\TweetNest;

$nest = new TweetNest('127.0.0.1:9200', 'tweet_files');
$result = $nest->search(
    ['text' => 'Arnold',
    'location' => 'USA']
);
var_dump($result);