You can set up multiple request handlers each with their own configuration
file. For example, in addition to the config you listed you could add
something like this:

<requestHandler name="/dataimport-two"
 class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
 <str name="config">data-two-config.xml</str>
</lst>
</requestHandler>

and so on with as many handlers as you need.

-Jay
http://www.lucidimagination.com


On Thu, Nov 5, 2009 at 8:57 AM, javaxmlsoapdev <vika...@yahoo.com> wrote:

>
> <requestHandler name="/dataimport"
>  class="org.apache.solr.handler.dataimport.DataImportHandler">
> <lst name="defaults">
>  <str name="config">data-config.xml</str>
> </lst>
> </requestHandler>
>
> is there a way to list more than one files in the <lst> above
> configuration?
> I understand I can have multiple <entity> itself in the config but I need
> to
> keep two data-config files separate and still use same DIH to create one
> index.
> --
> View this message in context:
> http://old.nabble.com/specify-multiple-files-in-%3Clst%3E-for-DataImportHandler-tp26215805p26215805.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to