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 2008/05/21 11:46:46 UTC
[Solr Wiki] Update of "DataImportHandler" by NoblePaul
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/DataImportHandler
------------------------------------------------------------------------------
* Use delta-import command to do a delta import (get new inserts/updates) and add to SOLR index
== Configuring DataSources ==
- Add the tag 'dataSource' directly uner the 'dataConfig' tag.
+ Add the tag 'dataSource' directly under the 'dataConfig' tag.
{{{
<dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/dbname" user="db_username" password="db_password"/>
}}}
@@ -110, +110 @@
* '''`parentDeltaQuery`''' : Only used in delta-import
* '''`deletedPkQuery`''' : Only used in delta-import
+
+ == Commands ==
[[Anchor(commands)]]
- == Commands ==
The handler exposes all its API as http requests . The following are the possible operations
* '''full-import''' : Full Import operation can be started by hitting the URL `http://<host>:<port>/solr/dataimport?command=full-import`