承接 realestateconz/solr-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-01-22