Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/DataImportHandler

------------------------------------------------------------------------------
  The use case is as follows:
  There are 3 datasources two RDBMS (jdbc1,jdbc2) and one xml/http (B)
  
+  * `jdbc1` and `jdbc2` are instances of `JdbcDataSource` which are configured 
in the solrconfig.xml. 
+  * `http` is an instance of `HttpDataSource` 
-  * The root entity starts with a table called 'A' in the 'jdbc1' . The entity 
is conveniently named as the table itself
+  * The root entity starts with a table called 'A' and uses 'jdbc1' as the 
datasource . The entity is conveniently named as the table itself
+  * Entity 'A' has 2 sub-entities 'B' and 'C' . 'B' uses the datasource 
instance  'http' and 'C' uses the datasource instance 'jdbc2'
+  * On doing a `command=full-import` The root-entity (A) is executed first 
   * Each row that emitted by the 'query' in entity 'A' is fed into its sub 
entities B, C
   * The queries in B and C use a column in 'A' to construct their queries 
using placeholders like `${A.a}`
     * B has a url  (B is an xml/http datasource) 

Reply via email to