Why is there no such DataImportHandler thing in ElasticSearch? Uhm, well ... but because:
-
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
-
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!)