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 comment on the change is:
HTTPDataSource to HttpDataSource

------------------------------------------------------------------------------
  
  [[Anchor(httpds)]]
  
- == Configuration of URLDataSource or HTTPDataSource ==
+ == Configuration of URLDataSource or HttpDataSource ==
  
- <!> HTTP!DataSource is being deprecated in favour of URL!DataSource in 
["Solr1.4"]
+ <!> Http!DataSource is being deprecated in favour of URL!DataSource in 
["Solr1.4"]
  
- Sample configurations for URL!DataSource <!> ["Solr1.4"] and HTTP!DataSource 
in data config xml look like this
+ Sample configurations for URL!DataSource <!> ["Solr1.4"] and Http!DataSource 
in data config xml look like this
  {{{
+ <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"/>
- <dataSource name="b" type="HTTPDataSource" baseUrl="http://host:port/"; 
encoding="UTF-8" connectionTimeout="5000" readTimeout="10000"/>
  }}}
  ''' The extra attributes specific to this datasource are '''
  
@@ -363, +364 @@

  }}}
  
  
- == HTTPDataSource Example ==
+ == HttpDataSource Example ==
- <!> HTTP!DataSource is being deprecated in favour of URL!DataSource in 
["Solr1.4"]
+ <!> Http!DataSource is being deprecated in favour of URL!DataSource 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.
  
@@ -372, +373 @@

  The data-config for this example looks like this:
  {{{
  <dataConfig>
-         <dataSource type="HTTPDataSource" />
+         <dataSource type="HttpDataSource" />
        <document>
                <entity name="slashdot"
                        pk="link"
@@ -820, +821 @@

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

  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 `Http!DataSource`
   * 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