Skip to content

Search JSON tweet files by text and location - Elasticsearch.

License

Notifications You must be signed in to change notification settings

rocketphp/tweetnest

Repository files navigation

tweetnest

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);

About

Search JSON tweet files by text and location - Elasticsearch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published