solrdeprecateddataimporthandler

What is going to replace the DataImportHandler in Solr 9.0?


The latest documentation (8.8) for Apache Solr says that the Data Import Handler is deprecated is going to be removed in future versions. It only lists a third-party plugin maintained on Github, and no other native alternative to import data from relational databases. Am I missing something or has Solr dropped native support for this?


Solution

  • Data import handler will still be there, but as a contrib package.

    I'll do what I did before data import handler existed and write a separate program. I prefer Python, where reading a database and sending JSON updates is pretty simple.

    Be sure to batch the updates.