Shalin,

Where in the admin console can I view the current data-config.xml settings?

The reason I choose solrconfig.xml  to configure the datasource is because
there is no way for me to pass dynamic values into data-config.xml as I have
in my example. Is there a way that this can be accomplished?


blargy wrote:
> 
> My current DIH is configured via the requestHandler block in
> solrconfig.xml
> 
> <requestHandler name="/dataimport"
> class="org.apache.solr.handler.dataimport.DataImportHandler">
>     <lst name="defaults">
>       <str name="config">data-config.xml</str>
>       <lst name="datasource">
>         <str name="driver">${datasource.driver}</str>
>         <str name="url">${datasource.url}</str>
>         <str name="user">${datasource.user}</str>
>         <str name="password">${datasource.password}</str>
>      <str name="batchsize">-1</str>
>         <str name="readOnly">true</str>
>       </lst>
>     </lst>
>   </requestHandler>
> 
> My question is, does the batchsize and readOnly properties sill work if I
> specify it here as opposed to the data-config.xml? I can't seem to find
> this answer anywhere. An even better question is how can I check my
> current datasource configuration while the application is running?
> 
> Thanks!
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/DIH-datasource-configuration-tp27897206p27907208.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to