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 KenGeis
Date Fri, 14 Oct 2011 16:51:37 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 KenGeis:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=295&rev2=296

Comment:
clean up Commands section

    * When full-import command is executed, it stores the start time of the operation in a
file located at ''conf/dataimport.properties''
    * This stored timestamp is used when a delta-import operation is executed.
    * Queries to Solr are not blocked during full-imports.
-   * It takes in extra parameters
+   * It takes in extra parameters:
-    * '''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
+    * '''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
+    * '''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
+    * '''commit''' : (default 'true'). Tells whether to commit after the operation.
-    * '''optimize''': (default 'true'). Tells whether to optimize after the operation
+    * '''optimize''' : (default 'true'). Tells whether to optimize after the operation.
-    * '''debug''' : (default false). Runs in debug mode.It is used by the interactive development
mode ([[#interactive|see here]])
+    * '''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.
-  * '''delta-import''' :  For incremental imports and change detection run the command `http://<host>:<port>/solr/dataimport?command=delta-import
. It supports the same clean, commit, optimize and debug parameters as full-import command.
+  * '''delta-import''' : For incremental imports and change detection run the command `http://<host>:<port>/solr/dataimport?command=delta-import`
. It supports the same clean, commit, optimize and debug parameters as full-import command.
-  * '''status''' : To know the status of the current command , hit the URL `http://<host>:<port>/solr/dataimport`
.It gives an elaborate statistics on no:of docs created, deleted, queries run, rows fetched
, status etc
+  * '''status''' : To know the status of the current command, hit the URL `http://<host>:<port>/solr/dataimport`
. It gives an elaborate statistics on no. of docs created, deleted, queries run, rows fetched,
status etc.
-  * '''reload-config''' : If the data-config is changed and you wish to reload the file without
restarting Solr. run the command `http://<host>:<port>/solr/dataimport?command=reload-config`
+  * '''reload-config''' : If the data-config is changed and you wish to reload the file without
restarting Solr. Run the command `http://<host>:<port>/solr/dataimport?command=reload-config`
.
-  * '''abort''' : Abort an ongoing operation by hitting the url `http://<host>:<port>/solr/dataimport?command=abort`
+  * '''abort''' : Abort an ongoing operation by hitting the URL `http://<host>:<port>/solr/dataimport?command=abort`
.
  
  == Full Import Example ==
  Let us consider an example. Suppose we have the following schema in our database

Mime
View raw message