rocketphp / tweetnest
Search JSON tweet files by text and location - Elasticsearch.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.5
- elasticsearch/elasticsearch: ~1.0
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.0
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-11-13 11:07:31 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);
- File issues at https://github.com/rocketphp/tweetnest/issues
- Documentation is at http://rocketphp.io/tweetnest