Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (10 sloc) 0.419 kb
<?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);
Jump to Line
Something went wrong with that request. Please try again.