Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruogoo/laravel-scout-opensearch
Laravel Scout 的 阿里云 Open Search 驱动。真的很快。⚡️
https://github.com/ruogoo/laravel-scout-opensearch
laravel opensearch package scout search
Last synced: about 2 months ago
JSON representation
Laravel Scout 的 阿里云 Open Search 驱动。真的很快。⚡️
- Host: GitHub
- URL: https://github.com/ruogoo/laravel-scout-opensearch
- Owner: ruogoo
- Created: 2017-10-10T15:20:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T12:25:14.000Z (about 5 years ago)
- Last Synced: 2024-03-14T19:32:12.436Z (10 months ago)
- Topics: laravel, opensearch, package, scout, search
- Language: PHP
- Homepage: https://www.ruogoo.cn/search
- Size: 103 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-scout-opensearch
Laravel Scout 的 阿里云 Open Search 驱动。
## Installation
建议使用 composer 方式安装此包
composer require ruogoo/laravel-scout-opensearch:dev-master
## Usage
1. 在阿里云 OpenSearch 控制台配置;
2. Laravel 5.5 以下,`config/app.php` 中添加 `service provider`
Ruogoo\\OpenSearch\\OpenSearchServiceProvider
Laravel 5.5 及以上,自动加载 `service provider`,无需手动添加。
3. 修改 `.env` 配置 scout driver
SCOUT_DRIVER=opensearch
4. artisan 导入数据同官方 scout 一样:@see [Scout Indexing](https://laravel.com/docs/5.5/scout#indexing)
## Issue
此 package 目前主要自用,功能应该是没有问题,抽空会继续完善。有问题就联系我吧
[issue](https://github.com/ruogoo/laravel-scout-opensearch/issues)
[email:[email protected]](mailto:[email protected])
## License
None.