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 stockii <st...@googlemail.com> on 2011/04/19 15:15:55 UTC
change DIH default optimize=false
Hello.
How can i change the default value of optimize in DIH to false ?
-----
------------------------------- System ----------------------------------------
One Server, 12 GB RAM, 2 Solr Instances, 7 Cores,
1 Core with 31 Million Documents other Cores < 100.000
- Solr1 for Search-Requests - commit every Minute - 5GB Xmx
- Solr2 for Update-Request - delta every Minute - 4GB Xmx
--
View this message in context: http://lucene.472066.n3.nabble.com/change-DIH-default-optimize-false-tp2838622p2838622.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: change DIH default optimize=false
Posted by Ahmet Arslan <io...@yahoo.com>.
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>
</lst>
Re: change DIH default optimize=false
Posted by stockii <st...@googlemail.com>.
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 !
-----
------------------------------- System ----------------------------------------
One Server, 12 GB RAM, 2 Solr Instances, 7 Cores,
1 Core with 31 Million Documents other Cores < 100.000
- Solr1 for Search-Requests - commit every Minute - 5GB Xmx
- Solr2 for Update-Request - delta every Minute - 4GB Xmx
--
View this message in context: http://lucene.472066.n3.nabble.com/change-DIH-default-optimize-false-tp2838622p2838676.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: change DIH default optimize=false
Posted by Ahmet Arslan <io...@yahoo.com>.
How can i change the default value of optimize in DIH to false ?
You mean? solr/dataimport?command=delta-import&optimize=false