Skip to content

mjakubowski/nutwerk-solr-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Solr Service Provider for Silex
===============================

This extension sets up the solr client the connect to a solr instance


Installation
------------

cd /path/to/silex_project/vendor
git clone [email protected]:mjakubowski/nutwerk-solr-extension.git

Clone solr-php-client-curl Repository:
git clone git://github.com/andreisavu/solr-php-client-curl.git

Edit your index.php:

$app['autoloader']->registerNamespace('Nutwerk', __DIR__.'/vendor/nutwerk-solr-extension/lib');
$app->register(new Nutwerk\Provider\SolrServiceProvider(), array(
    'solr.host'       => 'localhost',
    'solr.port'       => 8180,
    'solr.path'       => '/solr/',
    'solr.class_path' => __DIR__.'/vendor/solr-php-client-curl',
));

About

Solr Extension for Silex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages