How to do Solr Dataimport (i.e from RDBMS) using Java API?
问题 I am new to Solr, actually I tried Database table indexing in Solr manually, i.e creating a new data-config.xml and running the full import from Solr webUI, successfully did that. But now I need to do the same thing in Java. So I need know the following things using Java: How to set Solr datasource in Java api How to set the entity and query How to run full import Actually, for data import we write a configuration file like below <?xml version="1.0" encoding="UTF-8" ?> <dataConfig>