Calling SearchFactoryIntegrator.addClasses(..) causes the SearchFactory to be reconfigured. Effectively this means a new one is constructed and all state and configs are copied from the previous one, plus the new classes are added. This works mostly ok, but the statistics are lost. Also the state of Statistics.isStatisticsEnabled is lost, which means no statistics are going to be collected after reconfiguration.
The statistics should be copied over.
This affects Infinispan 6.0.0.Final.
|