lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "DataImportHandler" by JamesDyer
Date Mon, 11 Jul 2011 16:15:53 GMT
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 JamesDyer:

add caveat about special commands

   * '''`$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
uniqueKey value of the document <!> [[Solr1.4]]
   * '''`$deleteDocByQuery`''' :Delete docs from Solr by this query. The value must be a Solr
Query <!> [[Solr1.4]]
+ Note that $deleteDocById and $deleteDocByQuery do not increment the "# deletes processed"
statistic.  Also, if a component ''only'' deletes documents using these special commands,
DIH will not commit the changes.  See [[|]]
for a patch that enables increments & commits in this case.
  == Adding datasource in solrconfig.xml ==

View raw message