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 2011/07/28 21:36:14 UTC
[Solr Wiki] Update of "DataImportHandler" by HossMan
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 HossMan:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=291&rev2=292
Comment:
1.5 is dead, long live 3.1
* '''`processor`''' : Required only if the datasource is not RDBMS . (The default value is `SqlEntityProcessor`)
* '''`transformer`''' : Transformers to be applied on this entity. (See the transformer section)
* '''`dataSource`''' : The name of a datasource as put in the the datasource .(Used if there are multiple datasources)
- * '''`threads`''' : The no:of of threads to use to run this entity. This must be placed on or above a 'rootEntity'. [[Solr1.5]]
+ * '''`threads`''' : The no:of of threads to use to run this entity. This must be placed on or above a 'rootEntity'. [[Solr3.1]]
* '''`pk`''' : The primary key for the entity. It is '''optional''' and only needed when using delta-imports. It has no relation to the uniqueKey defined in schema.xml but they both can be the same.
* '''`rootEntity`''' : By default the entities falling under the document are root entities. If it is set to false , the entity directly falling under that entity will be treated as the root entity (so on and so forth). For every row returned by the root entity a document is created in Solr
* '''`onError`''' : (abort|skip|continue) . The default value is 'abort' . 'skip' skips the current document. 'continue' continues as if the error did not happen . <!> [[Solr1.4]]