devouted/elastic-index-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devouted/elastic-index-manager

最新稳定版本:v1.0.3

Composer 安装命令:

composer require devouted/elastic-index-manager

包简介

About

README 文档

README

This is a simple elastic indexes manager.

Installation

Install the package using Composer:

composer require devouted/elastic-index-manager

Configuration

Add the following configuration to your services.yaml to register the command:

Copy code
Devouted\ElasticIndexManager\Command\ElasticIndexManagerCommand:
    tags: ['console.command']

Command will search for any service that returns a Elasticsearch/Client class: like bellow:

    elasticsearch.client.default:
        public: true
        class: Elasticsearch\ClientBuilder
        factory: [ 'Elasticsearch\ClientBuilder', 'fromConfig' ]
        arguments:
            - { hosts: [ '%env(ELASTICSEARCH_TRANSPORT)%://%env(ELASTICSEARCH_HOST)%:%env(ELASTICSEARCH_PORT)%' ] }

Usage

Once installed and configured, you can use the command via the Symfony Console to manage your elastic indexes.

bin/console elasticsearch:index:manage

Select connection

image

run action

image2

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-25