blomstra/search
最新稳定版本:0.1.19
Composer 安装命令:
composer require blomstra/search
包简介
Replaces Flarum search with one powered by an elastic search server.
README 文档
README
Search replaces the native Flarum search functionality which relies on MySQL badly performing fulltext search with one that is completely relying on the proven elasticsearch engine.
Features
- Sync discussions to elastic search using your queue, unobtrusively for the user.
- Reduces search loading times to well below 400ms (local tests with 50.000 discussion 260ms)
- Uses Flarum's group permissions and tags system.
- Compatible with Friends of Flarum Byōbu.
Installation
Use composer:
composer require blomstra/search:*
Enable the extension inside the admin area and configure the settings.
Set up
Enable the extension in your admin area. Now to seed your existing discussions use the following command:
php flarum blomstra:search:index
All mutations to discussions are automatically added and removed from the elasticsearch index.
FAQ
I have another question. Reach out to us via https://helpdesk.blomstra.net. We will get back to you as soon as we can. If you have a running subscription please mention when you started your plan and/or which plan you are on. Always add sufficient information when reporting errors. We prefer errors being reported here, but understand that sometimes you can't.
Can I dispatch the sync jobs to another queue? Yes:
\Blomstra\Search\Observe\Job::$onQueue = 'sync';
- Blomstra provides managed Flarum hosting.
- https://blomstra.net
- https://blomstra.community/t/ext-search
统计信息
- 总下载量: 4.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-01