T
T
theEternalStudent2017-09-08 17:48:41
MySQL
theEternalStudent, 2017-09-08 17:48:41

How can I migrate a database from mysql to elasticsearch?

Interested in data transfer, not collaboration.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
theEternalStudent, 2017-09-09
@theEternalStudent

To do this, you need to use the elasticsearch bluk method. It allows you to transfer groups of records to elastic, and not, as I did, one at a time. For convenient use of this method, you can connect the php library https://www.elastic.co/guide/en/elasticsearch/clie...
And then follow the instructions:
https://www.elastic.co/guide/en/elasticsearch/ client...

R
RidgeA, 2017-09-08
@RidgeA

1. Select some data from MySQL
2. Insert data into ES
3. If not all data is selected from MySQL goto 1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question