U754V
U754V

Reputation: 85

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?

Upvotes: 7

Views: 9584

Answers (3)

Ayan Farooqui
Ayan Farooqui

Reputation: 1

I am using Apache NiFi to index bulk data to Solr. It is a quick and easy implementation. Here's the link to the template you can import and use directly. In this flow I am indexing chunks of JSON data to Solr.

https://github.com/AyanF/NiFi-flows/blob/master/Index_Json_Chunks_to_Solr_.xml

The json chunks are data imported from another Solr instance.

Upvotes: 0

PARK Yong Seo
PARK Yong Seo

Reputation: 21

Alternative solr DIH https://github.com/saro-lab/solr-db-importer

I made an alternative program to DIH and released the source code and manual.

Upvotes: 2

Walter Underwood
Walter Underwood

Reputation: 1221

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.

Upvotes: 3

Related Questions