fractal512/meilisan
最新稳定版本:v0.3.1
Composer 安装命令:
composer require fractal512/meilisan
包简介
Meilisearch methods wrapper for Laravel Artisan
README 文档
README
This wrapper helps to manage Meilisearch functionality via console using Laravel Artisan.
Table of Contents
Installation
Install the package using composer:
composer require fractal512/meilisan
Usage
Use artisan meilisearch command to manage Meilisearch indexes, configuration, etc. The list of commands is being expanded...
Indexes
To manage indexes in the Meilisearch database use command:
php artisan meilisearch:index <action> [<index>] [options]
Arguments:
- action - Action on index (get, set, delete)
- index - Name of the index in the Meilisearch database
Options:
- -o, --offset - Number of indexes to skip
- -l, --limit - Number of indexes to return
- -k, --key - Name of the primary key
Filterable Attributes
To manage filterable attributes for the Meilisearch index use command:
php artisan meilisearch:filterable <action> <index> [<attributes>]
Arguments:
- action - action on filterable attributes (get, set, reset)
- index - name of index in Meilisearch database
- attributes - comma-separated list of filterable attributes to set
Ranking Rules
To manage ranking rules for the Meilisearch index use command:
php artisan meilisearch:ranking <action> <index> [<attributes>]
Arguments:
- action - action on ranking rules (get, set, reset)
- index - name of index in Meilisearch database
- attributes - comma-separated list of ranking rules to set
Sortable Attributes
To manage sortable attributes for the Meilisearch index use command:
php artisan meilisearch:sortable <action> <index> [<attributes>]
Arguments:
- action - action on sortable attributes (get, set, reset)
- index - name of index in Meilisearch database
- attributes - comma-separated list of sortable attributes to set
Stop Words
To manage stop words for the Meilisearch index use command:
php artisan meilisearch:stopwords <action> <index> [<stopwords>]
Arguments:
- action - action on stop words (get, set, reset)
- index - name of index in Meilisearch database
- stopwords - comma-separated list of stop words to set
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-03