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 2009/08/05 11:20:03 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 following page has been changed by NoblePaul:
http://wiki.apache.org/solr/DataImportHandler

------------------------------------------------------------------------------
  
  == Special Commands ==
  Special commands can be given to DIH by adding certain variables to the row returned by any of the components .
-  * '''`$skipDoc`''' : Skip the current document . Do not add it to Solr. The value can be String true/false
+  * '''`$skipDoc`''' : Skip the current document . Do not add it to Solr. The value can be String true/false  
   * '''`$skipRow`''' : Skip the current row. The document will be added with rows from other entities. The value can be String true/false
   * '''`$docBoost`''' : Boost the current doc. The value can be a number or the toString of a number
-  * '''`$deleteDocById`''' : Delete a doc from Solr with this id. The value hast to be the unniqueKey value of the document
+  * '''`$deleteDocById`''' : Delete a doc from Solr with this id. The value hast to be the unniqueKey value of the document <!> ["Solr1.4"]
-  * '''`$deleteDocByQuery`''' :Delete docs from Solr by this query. The value must be a Solr Query
+  * '''`$deleteDocByQuery`''' :Delete docs from Solr by this query. The value must be a Solr Query <!> ["Solr1.4"]
  
  
  == Adding datasource in solrconfig.xml ==