realestateconz / solr-bundle
Solr ODM Bundle
Installs: 414
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- doctrine/common: ~2.2,>=2.2.3
- solarium/solarium: 2.3.x
This package is not auto-updated.
Last update: 2023-11-25 09:07:05 UTC
README
Introduction
SolrBundle provides ODM support for solr
Installation
Step 1: Install SolrBundle
Add the following dependency to your composer.json file:
{ "require": { ..., "realestateconz/solr-bundle": "master-dev" } }
Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Realestate\SolrBundle\RealestateSolrBundle(), ); }
Step 3: Configure
# app/config/config.yml realestate_solr: solarium: connection: adapter: Realestate\SolrBundle\Bridge\Solarium\Adapter\ZendHttp adapteroptions: host: localhost port: 8080 path: /solr timeout: 10 adapter: Zend_Http_Client_Adapter_Curl