Last active
October 30, 2023 16:14
-
-
Save karussell/2878392 to your computer and use it in GitHub Desktop.
ElasticSearch from SQL DB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why is there no such DataImportHandler thing in ElasticSearch? Uhm, well ... but because: | |
1. You should really consider your own scripts | |
(be it jvm based, perl, ruby, php, nodejs/javascript) | |
to feed ElasticSearch via bulk indexing: | |
http://www.elasticsearch.org/guide/reference/java-api/bulk.html | |
2. There are two projects doing it already: | |
* http://code.google.com/p/sql-to-nosql-importer/ | |
* https://github.com/Aconex/scrutineer (keeps DB in synch with ES or solr!) | |
3. In theorie you could use DIH in elasticsearch as well ;) | |
http://www.mattweber.org/2011/12/14/elasticsearch-mock-solr-plugin/ | |
4. In mysql you could add an http trigger: | |
http://code.google.com/p/mysql-udf-http | |
5. You could use hydra and start with the 'correct' & scalable | |
solution: https://github.com/Findwise/Hydra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@karussell They are out of incubator now https://manifoldcf.apache.org/
and as the documentation says: