On 4/1/2019 9:47 AM, Herbert Hackelsberger wrote:
So, am I correct:
- When using the IndexUpgrader, it will make the Index usable in the actual
version, without all new features.
- Using the Index Upgrader in the future again on the next major version will
again result in this error situation.
That is correct.
If the "new features" are not related to the index format, then you will
have full access to them even with an older index.
The Lucene IndexUpgrader function does a forceMerge on the index, down
to one segment. Solr calls that operation "optimize".
There's really no need to use IndexUpgrader. Solr will directly use an
index from one major version back with no trouble. If you ask Solr to
optimize the index down to one segment, that is an identical operation
to IndexUpgrader, with the difference that you can still access the
index while it is happening.
Thanks,
Shawn