lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Many files /dataImport in same project
Date Tue, 03 Nov 2015 15:55:57 GMT
On 3 November 2015 at 10:38, Gora Mohanty <gora@mimirtech.com> wrote:
>> I missed previous discussions, but the DIH config file is given in a
>> query parameter. So, if there is a bunch of them on a file system, one
>> could probably do
>> find . - name "*.dihconf" | xargs curl .....
>
> Sorry, I might be missing something, or things might have changed with
> newer Solr versions. I thought that the DIH data-config file had to be
> specified in solrconfig.xml.

It is just a parameter to the request handler. I am 99.5% sure you
just pass config=<path> parameter to the call and it picks it up then.
That's why you can keep updating the definition file and not need to
reload the core, it gets reloaded on each DIH call.

Now, I am not sure what happens if you run DIH several time with
different files and then look for status. It is asynchronous, so.....


Regards,
   Alex.


----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/

Mime
View raw message