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 ------------------------------------------------------------------------------ </lst> </requestHandler> }}} + === Multiple DataSources === - note: It is possible to have more than one datasources for a configuration. To configure another datasource , just keep an another `<lst name="datasource">` entry . There is an implicit attribute "name" for a datasource. If there are more than one, each extra datasource must be identified by a unique name . eg: `<str name="name">datasource-2/str>` + It is possible to have more than one datasources for a configuration. To configure an extra datasource , just keep an another `<lst name="datasource">` entry . There is an implicit attribute "name" for a datasource. If there are more than one, each extra datasource must be identified by a unique name `'<str name="name">datasource-2/str>'` + eg: {{{ <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> @@ -202, +204 @@ </lst> </requestHandler> }}} - - '''NOTE''' - * The data-config in this example can also be written with only one entity ''item'' using SQL joins. In that case columns in ''category'' and ''feature'' tables can directly be read from the ''item'' entity. == Using delta-import command == Delta Import operation can be started by hitting the URL [http://localhost:8983/solr/dataimport?command=delta-import]. This operation will be started in a new thread and the ''status'' attribute in the response should be shown ''busy'' now. Depending on the size of your data set, this operation may take some time. At any time, you can hit [http://localhost:8983/solr/dataimport] to see the status flag.
