Eric,
Just a question :-), wouldn't it be easy to use DIH to pull data from
multiple data sources.

I do use DIH to do that comfortably. I have three data sources
 - MySQL
 - URLDataSource that returns XML from an .NET application
 - URLDataSource that connects to an API and return XML

Here is part of data-config data source settings
<dataSource type="JdbcDataSource" name="solr" driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/employeeDB" batchSize="-1" user="root"
password="root"/>
       <dataSource name="CRMServer" type="URLDataSource" encoding="UTF-8"
connectionTimeout="5000" readTimeout="10000"/>
       <dataSource name="ImageServer" type="URLDataSource" encoding="UTF-8"
connectionTimeout="5000" readTimeout="10000"/>
       

Of course, in application I do the same.
To construct my results, I do connect to MySQL and those two data sources.

Basically we have two point of indexing
 - Using DIH at one time indexing
 - At application whenever there is transaction to the details that we are
storing in Solr.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-core-support-for-indexing-multiple-servers-tp4099729p4099933.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to