lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: change DIH default optimize=false
Date Tue, 19 Apr 2011 16:36:18 GMT

yes, but as default! i dont want to set it from me to false.

i need not after ervery commit an optimize and i want it default=false !

Hmm, so you don't want to add '&optimize=false' every time you call DIH.

DIH is a request handler so you can define defaults in solrconfig.xml 

<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">

<str name="config">data-config.xml</str>
<bool name="optimize">false</bool>

View raw message