1> merging takes place up until the max segment size is reached (5G in the default TieredMergePolicy).
2> there are a couple of options, again config changes for TieredMergePolicy <int name="segmentsPerTier">10</int> might help. You could also try upping this (the default is 5G). <double name="maxMergedSegmentMB">5000</double> Best, Erick On Mon, Oct 23, 2017 at 10:34 AM, chandrushanmugasundaram <chandru.shanmugasunda...@exterro.com> wrote: > Thanks eric. > > (Beginner in solr). Few questions. > > 1. Does merging take place only when we have deleted docs? > When my segments reach a count of 35+ the search is getting slow.Only on > performing force merge to index the search is efficient. > > 2. Is there any way we can reduce the number of segments in solr > automatically without any cron job by just altering some configuration in > solrconfig.xml. > > > > > > > > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html