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 2011/07/13 10:55:49 UTC
[Solr Wiki] Update of "DataImportHandler" by ShalinMangar
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 ShalinMangar:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=286&rev2=287
Comment:
This statement is wrong. For both full-import and delta-import, commit defaults to true.
* '''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.
- * Please note the commit parameter is required for updates (changes to existing data) to appear properly in the index. Without it your queries may return the old AND new records.
* '''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`
* '''abort''' : Abort an ongoing operation by hitting the url `http://<host>:<port>/solr/dataimport?command=abort`