I was trying to find where to put configurations for the
DefaultWrapperModel, and I ended up finding a bug in the code that loads
models and stores from disk.
The block of code protected by the if statement from this line:
https://github.com/apache/solr/blob/main/solr/modules/ltr/src/java/org/apache/solr/ltr/search/LTRQParserPlugin.java#L132
will never be executed.

It is impossible that the mr and fr variables are both not null, because
object res is either an instance of ManagedFeatureStore or an instance of
ManagedModelStore. This avoids the call to load stored models. Any thoughts?

Reply via email to