Show Lucene index format version in jmx
Closed this issue · 3 comments
Environment
- Platform version: 6.8 - 6.10
Description of the bug or enhancement
Let's imagine I'm upgrading my system from CUBA 6.8 to 6.10.
I see that there is a Lucene version increase, so I probably need to upgrade my indices.
But how do I determine if the index has been already upgraded or not? For example if I check actions of other employees who performed the update of the system.
Given the fact that Lucene 7.2.1 works without errors with indices created by 6.6.0. Is the upgrade necessary after all, was the format changed or not?
So it would be nice to see in JMX "latest index version" and "version of indices on disk".
FtsManagerMbean.getIndexFormatVersion
returns current index format version
FtsManagerMbean.getLatestIndexFormatVersion
returns last index format version supported by lucene