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 2010/02/10 12:48:06 UTC

[Solr Wiki] Update of "DataImportHandler" by NoblePaul

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 NoblePaul.
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=236&rev2=237

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

   * '''`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)
-  * '''`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. It is '''mandatory''' if you do delta-imports and then refers to the column name in ${dataimporter.delta.<column-name>} which is used as primary key.
+  * '''`threads`''' :  The no:of of threads to use to run this entity. This must be placed on or above a 'rootEntity'. [[Solr1.5]] 
+  * '''`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]]
   * '''`preImportDeleteQuery`''' : before full-import this will be used to cleanup the index instead of using '*:*' .This is honored only on an entity that is an immediate sub-child of <document> <!> [[Solr1.4]].