kyoushu / solr-serve
A library for managing instances of Solr to aid unit tests
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/kyoushu/solr-serve
Requires
- php: ^7.1
- symfony/filesystem: ^4.1
- symfony/options-resolver: ^4.1
- symfony/process: ^4.1
- symfony/property-access: ^4.1
Requires (Dev)
- phpunit/phpunit: ^7.2
This package is auto-updated.
Last update: 2023-01-15 19:29:27 UTC
README
A library for managing instances of Solr to aid unit tests
Usage Example
$manager = new \Kyoushu\SolrServe\PackageManager('/tmp/solr-packages'); $package = $manager->createPackage('7.4.0')->download()->unpack(); $server = $package->createServer([ 'core_name' => 'foo', 'dir' => '/tmp/foo', 'port' => 9000 ]); $server->initialise(); $server->start(); // Do things with Solr here... $server->stop();