{"id":20528267,"url":"https://github.com/manticoresoftware/es2ms","last_synced_at":"2025-04-14T04:51:21.064Z","repository":{"id":43321722,"uuid":"329798491","full_name":"manticoresoftware/es2ms","owner":"manticoresoftware","description":"Elasticsearch -\u003e Manticore Search data migration tool","archived":false,"fork":false,"pushed_at":"2022-03-08T11:17:14.000Z","size":27,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T18:52:27.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manticoresoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-15T03:27:15.000Z","updated_at":"2023-09-08T02:31:45.000Z","dependencies_parsed_at":"2022-09-23T10:24:56.714Z","dependency_job_id":null,"html_url":"https://github.com/manticoresoftware/es2ms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fes2ms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fes2ms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fes2ms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fes2ms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manticoresoftware","download_url":"https://codeload.github.com/manticoresoftware/es2ms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824693,"owners_count":21167343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T23:24:16.035Z","updated_at":"2025-04-14T04:51:21.043Z","avatar_url":"https://github.com/manticoresoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Elasticsearch -\u003e Manticore Search data migration tool\n===========\n\nThis tool automates copying data from [Elasticsearch](https://www.elastic.co/elasticsearch/) to [Manticore Search](https://manticoresearch.com/)\n\nRequirements\n------------\n1. Elasticsearch dump tool : https://github.com/elasticsearch-dump/elasticsearch-dump\n2. Elasticsearch and Manticore PHP clients\n\nInstall\n-------\n\n```bash\ncomposer update\n```\n\n\nUsage\n-----\n\nMigrate all indexes:\n```php\nphp migrator.php\n```\nMigrate certain indexes:\n```php\nphp migrator.php  --elasticsearch.host=my.domain.com --elasticsearch.port=9200 --indexes=index1,index2\n```\n\nParameters\n----------\n* `indexes` - list of ES index names, separated by comma. Default:  migrate all indexes available\n* `dryrun` - perform a dry run without migrating anything. It prints information about available ES indexes\n* `onlyschemas` - only create the index(es), no data migration\n* `onlydata` - migrate the data, assume indexes are already created\n* `elasticsearch.host` - ES host, default: 127.0.0.1\n* `elasticsearch.port` - ES port, default: `9200`\n* `elasticsearch.user` - ES username, no default \n* `elasticsearch.pass` - ES password, no default\n* `elasticsearch.batch_size` - How many ES documents to retrieve per round (default 10000)  \n* `manticoresearch.host` - Manticore host, default: 127.0.0.1\n* `manticoresearch.port` - Manticore HTTP port, default: 9308\n* `manticoresearch.batch_size` - How many documents to group in a single INSERT batch in Manticore (default 10000)\n* `limit` - limit the number of documents from an index for migration (default 0 - migrate all )\n* `threads` -  use multiple parallel workers to process the indexes (each worker process one index at a time), default is 1\n* `types.*` - allows overriding settings for a data type ( see [Data type tranformation](docs/Data_type_transformation.md))\n* `log`- log file path; default is 'stdout' - output to console\n* `config` - read parameters from a config file in json format\n\nParameters read from a config file can be overridden by values provided as command line arguments\n\n```php\nphp migrator.php  --config config.sample.json --threads=2\n```\n\nLicense\n-------\nThis software is licensed under the [Apache v2.0 license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fes2ms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanticoresoftware%2Fes2ms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fes2ms/lists"}