承接 pxslip/laravel-scout-solr 相关项目开发

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

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

pxslip/laravel-scout-solr

Composer 安装命令:

composer require pxslip/laravel-scout-solr

包简介

A driver for the Laravel Scout search tools, using Apache Solr for the backend

README 文档

README

Latest Stable Version Latest Unstable Version Total Downloads

This engine provides the interface between Laravel Scout and a Solr instance.

Installation

composer require pxslip/laravel-scout-solr

For Laravel <= 5.4 the service provider should be registered in config/app.php

'providers' => [
    // ...other providers
    Scout\Solr\ScoutSolrServiceProvider::class,
]

Usage

As the engine uses some functionality that is not fully compatible with Laravel\Scout\Builder and Laravel\Scout\Searchable you will need to use the Scout\Solr\Builder and Scout\Solr\Searchable versions instead:

use Scout\Solr\Searchable;

class MyModel extends Model {
    use Searchable;
    ...
}

// and then to perform a search

MyModel::where(...)
    ->orWhere(...)
    ->facetField(...)

TO DO

  • Add bindings instead of just passing the string for better escaping
  • Add nested querying to Builder
  • Add nested querying to ScoutEngine
  • Write tests

统计信息

  • 总下载量: 4.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 0
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固