Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 419 Bytes
<?php
use Doctrine\Search\SearchManager;
use Doctrine\Search\Solr\Client as SearchClient;
use Doctrine\Search\Solr\Connection;
use Doctrine\ODM\MongoDB\DocumentManager;
$connection = new Connection();
$configuration = new Configuration('localhost', '8888', 'testindex' );
$searchClient = new SearchClient();
$objectManager = new DocumentManager();
$searchManager = new SearchManager($searchClient, $objectManager);