Dear Wiki user,

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

The "DataImportHandler" page has been changed by FergusMcMenemie.
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=244&rev2=245

--------------------------------------------------

  
  == Configuration of URLDataSource or HttpDataSource ==
  
- <!> HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]
+ <!> !HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]
  
- Sample configurations for URLDataSource <!> [[Solr1.4]] and HttpDataSource in 
data config xml look like this
+ Sample configurations for URLDataSource <!> [[Solr1.4]] and !HttpDataSource 
in data config xml look like this
  {{{
- <dataSource name="b" type="HttpDataSource" baseUrl="http://host:port/"; 
encoding="UTF-8" connectionTimeout="5000" readTimeout="10000"/>
+ <dataSource name="b" type="!HttpDataSource" baseUrl="http://host:port/"; 
encoding="UTF-8" connectionTimeout="5000" readTimeout="10000"/>
  <!-- or in Solr 1.4-->
  <dataSource name="a" type="URLDataSource" baseUrl="http://host:port/"; 
encoding="UTF-8" connectionTimeout="5000" readTimeout="10000"/>
  }}}
@@ -367, +367 @@

  
  
  == HttpDataSource Example ==
- <!> HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]
+ <!> !HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]
  
  Download the full import example given in the DB section to try this out. 
We'll try indexing the [[http://rss.slashdot.org/Slashdot/slashdot|Slashdot RSS 
feed]] for this example.
  
@@ -878, +878 @@

  }}}
  
  === HttpDataSource ===
- <!> HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]. There is no change in functionality between URLDataSource and 
Http!DataSource, only a name change.
+ <!> !HttpDataSource is being deprecated in favour of URLDataSource in 
[[Solr1.4]]. There is no change in functionality between URLDataSource and 
!HttpDataSource, only a name change.
  
  === FileDataSource ===
  This can be used like an URLDataSource but used to fetch content from files 
on disk. The only difference from URLDataSource, when accessing disk files, is 
how a pathname is specified. The signature is as follows
@@ -960, +960 @@

  There are 3 datasources two RDBMS (jdbc1,jdbc2) and one xml/http (B)
  
   * `jdbc1` and `jdbc2` are instances of  type `JdbcDataSource` which are 
configured in the solrconfig.xml.
-  * `http` is an instance of type `Http!DataSource`
+  * `http` is an instance of type `HttpDataSource`
   * 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

Reply via email to