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

add abstract contrib/ltr AdapterModel

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • contrib - LTR
    • None

    Description

      The abstract AdapterModel class is to facilitate the development of open-source (or custom) scoring models whose initialization is completed when a SolrResourceLoader is supplied in the init method call. Via the SolrResourceLoader a file defining an pre-trained model can be opened and once instantiated the LTRScoringModel.score() method can delegate calculations to the implementing model instance.

      illustration/work-in-progress:

      deriving classes:

      • TestAdapterMode$CustomModel in the TestAdapterModel.java
      • future todo: when they exist add links to open-source models extending AbstractModel

      Attachments

        1. SOLR-11941.patch
          12 kB
          Christine Poerschke

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: