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

add abstract contrib/ltr AdapterModel

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, master (8.0)
    • Component/s: contrib - LTR
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: