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

Sample model json format for MultipleAdditiveTreesModel is incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4, 6.4.1, 6.4.2, 6.5, 6.5.1, 6.6
    • Fix Version/s: 6.7, 7.0
    • Component/s: contrib - LTR
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      When I try to use the example json file in the javadoc of MultipleAdditiveTreesModel.java I receive the following error:

      org.apache.solr.ltr.model.ModelException: Model type does not exist org.apache.solr.ltr.model.MultipleAdditiveTreesModel

      The sample model from the documentation is working. The difference seems to be the quoted numbers. I can confirm that once quoted I no longer have the problem and the setter methods all expect Strings.

      It's a little bit confusing as this error message does not really pin down the root of the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                stefan.langenmaier Stefan Langenmaier
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: