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
run action
统计信息
- 总下载量: 765
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-25