lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=282&rev2=283

Comment:
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 [[https://issues.apache.org/jira/browse/SOLR-2492|https://issues.apache.org/jira/browse/SOLR-2492]]
for a patch that enables increments & commits in this case.
  
  == Adding datasource in solrconfig.xml ==
  <<Anchor(solrconfigdatasource)>>

Mime
View raw message