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-tp27897206p27897206.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to