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

Sample model json format for MultipleAdditiveTreesModel is incorrect

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.4, 6.4.1, 6.4.2, 6.5, 6.5.1, 6.6
    • 7.0
    • contrib - LTR
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment