Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11137

LTR: misleading error message when loading a model

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: contrib - LTR
    • Labels:
      None

      Description

      Loading a model can fail for several reasons when calling the model constructor, but the error message always reports that the Model type does not exist.

      https://github.com/apache/lucene-solr/blob/master/solr/contrib/ltr/src/java/org/apache/solr/ltr/model/LTRScoringModel.java#L103

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                diegoceccarelli Diego Ceccarelli
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: