martiis / elasticsearch-reindexer
This package is abandoned and no longer maintained.
No replacement package was suggested.
A quick tool for reindexing your elasticsearch data
v0.1.0
2015-11-01 03:09 UTC
Requires
- php: >=5.5
- elasticsearch/elasticsearch: ~2.0
- symfony/console: ~2.7
This package is not auto-updated.
Last update: 2020-01-24 16:01:24 UTC
README
A quick console tool for reindexing your elasticsearch data. It's made using only symfony/console and official elasticsearch php client.
setup
basic way
# git clone https://github.com/martiis/elasticsearch-reindexer.git
# cd elasticsearch-reindexer
# composer install
# bin/reindex <scan_index> <index_index>
composer way
# composer require martiis/elasticsearch-reindexer
# vendor/bin/reindex <scan_index> <index_index>
usage
Reindex command has few more arguments and options to play with:
Type | Name | Meaning |
---|---|---|
Argument | scan | Index name to scan |
Argument | index | Index name to index |
Option | host | Elasticsearch host |
Option | port | Elasticsearch port |
Option | bulk | Indexing bulk size |