You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Maddy.Jsh" <ma...@gmail.com> on 2010/06/07 08:09:17 UTC

Dynamic dataConfig files in DIH

Is there a way to dynamically point which dataConfig file to use to import
using DIH without using the defaults hardcoded in solrconfig.xml?

Thanks.
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-dataConfig-files-in-DIH-tp875421p875421.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Dynamic dataConfig files in DIH

Posted by "Maddy.Jsh" <ma...@gmail.com>.
I have multiple db-data-config file which I have created according to my
needs. I want to be able to specify which config file to use while
performing DIH.
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-dataConfig-files-in-DIH-tp875421p893553.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Dynamic dataConfig files in DIH

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
On Fri, Jun 11, 2010 at 11:13 PM, Chris Hostetter
<ho...@fucit.org>wrote:

>
> : Is there a way to dynamically point which dataConfig file to use to
> import
> : using DIH without using the defaults hardcoded in solrconfig.xml?
>

> what do you mean by "dynamically" ? ... it's a query param, so you can
> specify the file name in the url when you issue the command.
>
> not it is not. it is not reloaded for every request. We should enhance dih
to do so. But the whole data-config file can be sent as a request param and
it works (this is used by the dih debug mode)

>
> -Hoss
>
>


-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com

Re: Dynamic dataConfig files in DIH

Posted by Chris Hostetter <ho...@fucit.org>.
: Is there a way to dynamically point which dataConfig file to use to import
: using DIH without using the defaults hardcoded in solrconfig.xml?

what do you mean by "dynamically" ? ... it's a query param, so you can 
specify the file name in the url when you issue the command.


-Hoss