You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/02/28 14:05:35 UTC
[Solr Wiki] Update of "DataImportHandler" by AlexandreRafalovitch
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 AlexandreRafalovitch:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=336&rev2=337
Comment:
Added jndiName parameter information to JDBC data source
The attributes accepted by !JdbcDataSource are ,
* '''`driver`''' (required): The jdbc driver classname
- * '''`url`''' (required) : The jdbc connection url
+ * '''`url`''' (required) : The jdbc connection url (not required, if jndiName is used instead)
* '''`user`''' : User name
* '''`password`''' : The password
+ * '''`jndiName`''' : JNDI name of the preconfigured datasource
* '''`batchSize`''' : The batchsize used in jdbc connection. Use a value of '-1' in case of `setFetchSize() ` exception.
* '''`convertType`''' :(true/false)Default is 'false' Automatically reads the data in the target Solr data-type
* '''`autoCommit`''' : If set to 'false' it sets `setAutoCommit(false)` <!> [[Solr1.4]]