Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-4037

Commerce Recommenders results are not sorted by relevance

    Details

      Description

      Steps to reproduce:

      • Deploy Minium DEMO pack
      • Configure Data Integration to run cloud based content recommendations
      • Run the recommendations
      • Configure the product publisher in the product detail page to display content-based recommendations
      • Inspect displayed recommendations
        • rise com.liferay.commerce.machine.learning.internal.recommendation.data.source to TRACE
      Recommended item: 38142 rank: 0 score: 0.15621524
      Recommended item: 38254 rank: 0 score: 0.108484715
      Recommended item: 38350 rank: 0 score: 0.18517317
      Recommended item: 37818 rank: 0 score: 0.06070853
      Recommended item: 38506 rank: 0 score: 0.047181662
      Recommended item: 38022 rank: 0 score: 0.047181662
      Recommended item: 37873 rank: 0 score: 0.047181662
      Recommended item: 38394 rank: 0 score: 0.057827547
      Recommended item: 38159 rank: 0 score: 0.92831624
      Recommended item: 38410 rank: 0 score: 0.090075605

      Rank is 0 and sort is random

      Expected Results:

      Results are sorted by rank and displayed accordingly 

      Actual Results:

      Recommendations are shown in random order

        Attachments

          Activity

            People

            Assignee:
            lorenzo.lapescara Lorenzo La Pescara
            Reporter:
            riccardo.ferrari Riccardo Ferrari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.2