realestateconz/solr-bundle
Composer 安装命令:
composer require realestateconz/solr-bundle
包简介
Solr ODM Bundle
README 文档
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
统计信息
- 总下载量: 414
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-22