Do we really need Solr commit as cronjob?

Webert de Souza Lima webert.boss at gmail.com
Wed Dec 6 13:14:07 EET 2017


I'm interested in knowing this too.


Regards,

Webert Lima
DevOps Engineer at MAV Tecnologia
*Belo Horizonte - Brasil*

On Thu, Nov 30, 2017 at 10:07 PM, Gao <gao at pztop.com> wrote:

> I am testing Solr FTS on dovecot. Read online that some suggested to run
> cronjob commit every minute, and optimize once a day.
>
> I am using Solr 7.1.0 and I see some configurations:
> In /etc/default/solr.in.sh:
> #SOLR_OPTS="$SOLR_OPTS -Dsolr.autoSoftCommit.maxTime=3000"
> #SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000"
>
> Also in solrconfig.xml:
>     <autoCommit>
> <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
>       <openSearcher>false</openSearcher>
>     </autoCommit>
>
>    <autoSoftCommit>
> <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
>     </autoSoftCommit>
>
> So my question is do I still need run cronjob for commit?
>
> Do I need uncomment these lines in the solr.in.sh? Does my solrconfig.xml
> overwrite the setting in solr.in.sh?
>
> Thanks for help.
>


More information about the dovecot mailing list