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 Mon, 02 Nov 2015 17:08:25 GMT
On 2 November 2015 at 11:30, Gora Mohanty <gora@mimirtech.com> wrote:
> As per my last
> follow-up, there is currently no way to have DIH automatically pick up
> different data-config files without manually editing the DIH
> configuration each time.

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 .....

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

Mime
View raw message