On 4/23/2018 11:13 AM, Scott M. wrote:
I recently installed Solr 7.1 and configured it to work with Dovecot for
full-text searching. It works great but after about 2 days of indexing, I've
pressed the 'Optimize' button. At that point it had collected about 17 million
documents and it was taking up about 60-70GB of space.
It completed once and the space dropped down to 30-45GB but since then it
appears to be doing Optimize again on its own, regularly swelling up the total
space used to double, then it shrinks again, stays a bit that way then it
starts another optimize!
Are you running in SolrCloud mode with multiple replicas and/or multiple
shards?
If so, SolrCloud does optimize a little differently than standalone
mode. It will optimize every core in the entire collection, one at a
time, regardless of which actual core receives the optimize request. In
standalone mode, only the specific core you run the command on will be
optimized.
Thanks,
Shawn