承接 fractal512/meilisan 相关项目开发

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

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

fractal512/meilisan

最新稳定版本:v0.3.2

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

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-03