This is the piece of code involved :

"try {
      // create an instance of the model
      model = solrResourceLoader.newInstance(
          className,
          LTRScoringModel.class,
          new String[0], // no sub packages
          new Class[] { String.class, List.class, List.class, String.class,
List.class, Map.class },
          new Object[] { name, features, norms, featureStoreName,
allFeatures, params });
      if (params != null) {
        SolrPluginUtils.invokeSetters(model, params.entrySet());
      }
    } catch (final Exception e) {
      throw new ModelException("Model type does not exist " + className, e);
    }"

I admit it is generic and contains even a catch "Exception" clause, but
wasn't it logging the stacktrace ?
Just out of curiosity, how was the entire stacktrace ?

This may help to improve it.

Regards



-----
---------------
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to