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

Add classify() function query for use with re-ranking

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Now that SOLR-9252 is committed it would be useful to deploy an AI classifier during re-ranking.

      The classify function query will retrieve a model from a SolrCloud collection and run the model on documents. The function will return the score from the model. When used with the re-ranker this will re-rank the top N documents by the score from the model.

      The classify function can be used with the re-ranker using the function qparser plugin.

      The suggested syntax:

      rq={!rerank reRankQuery=$rqq reRankDocs=20}&rqq={!func}classify(collection, modelID, textField)
      

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            jbernste Joel Bernstein

            Dates

              Created:
              Updated:

              Slack

                Issue deployment