I have a few classes that are Analyzers, Readers, and TokenFilters. These classes use a large hashmap to map tokens to another value. The code is working great. I go to the Analysis page on the Solr dashboard and everything works as I would like. The problem is that the first time each one of these are used it takes them a long time to load the classes.

Is there a way that I can cause these classes to be loaded when Solr starts up?

It also seems that at some time the classes are being reloaded because occasionally I see the analysis take a long time, similar to the first time the field analysis was used from the Solr dashboard. Maybe that is not the case, but it seems to be.

Are plugins loaded once they are invoked for the entire Solr process or are plugins loaded for each thread?

Thank you.

Reply via email to