On 8/24/2018 12:44 AM, dami...@gmail.com wrote:
Shawn, Is it possible to run optimize on the live collection? For example,
/solr/collection/update?commit=true&optimize=true

For all the reasons in the blog post that Erick referenced, we recommend that you do not do this.

Something to note:  That optimize operation is *EXACTLY* what IndexUpgrader does.  So when it comes right down to it, I wouldn't recommend using IndexUpgrader either.

Solr 6 can read Solr 5 indexes directly, no "upgrade" required.  But as you've found, if you take a version 5 index and upgrade it to 6 (which is really just an optimize/forceMerge), then try to upgrade it again to version 7, it may not work.

The gist of all this is that I do not recommend using indexes from a previous version AT ALL.  You should build the indexes from scratch using the new version.

Thanks,
Shawn

Reply via email to