lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: Many files /dataImport in same project
Date Tue, 03 Nov 2015 16:02:02 GMT
On 3 November 2015 at 21:25, Alexandre Rafalovitch <arafalov@gmail.com> wrote:
> 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.
[...]

OK, looks like you are right. Had never had reason to use this, so
hadn't realised that this was possible.

Regards,
Gora

Mime
View raw message