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 2012/02/20 02:50:27 UTC

[Solr Wiki] Update of "DataImportHandler" by RobertMuir

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

Comment:
document defaults change for optimize

     * '''entity''' : Name of an entity directly under the <document> tag. Use this to execute one or more entities selectively. Multiple 'entity' parameters can be passed on to run multiple entities at once. If nothing is passed, all entities are executed.
     * '''clean''' : (default 'true'). Tells whether to clean up the index before the indexing is started.
     * '''commit''' : (default 'true'). Tells whether to commit after the operation.
-    * '''optimize''' : (default 'true'). Tells whether to optimize after the operation.
+    * '''optimize''' : (default 'true' up to Solr 3.6, 'false' afterwards). Tells whether to optimize after the operation. Please note: this can be a very expensive operation and usually does not make sense for delta-imports. 
     * '''debug''' : (default 'false'). Runs in debug mode. It is used by the interactive development mode ([[#interactive|see here]]).
  
      * Please note that in debug mode, documents are never committed automatically. If you want to run debug mode and commit the results too, add 'commit=true' as a request parameter.