Re: SOLR - Define fields in DIH configuration file dynamically

2013-03-19 Thread Gora Mohanty
On 19 March 2013 11:59, kobe.free.wo...@gmail.com wrote: > Thanks for your reply. > > Please let me know, if it is also possible to define the complete set/list > of the fields dynamically in the DIH config file. In our scenario, we will > be required to change the set/list of the fields based on

RE: SOLR - Define fields in DIH configuration file dynamically

2013-03-18 Thread Dyer, James
There are 3 approaches I can think of: 1. You can generate a new data-config.xml for each import. With Solr 4.0 and later, DIH re-parses your data-config.xml and picks up any changes automatically. 2. You can parameterize nearly anything in data-config.xml, add the parameters to your request