'How to avoid reload solr plugin when solr index reloads during replication?

Whenever Solr reloads index, it reloads my custom plugin which internally has some cached objects. How can I avoid reloads of my custom plugin?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source