Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11182

Improve accuracy of the results when searching for extensions from the Extension Manager UI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The current search results are of a very low accuracy:

      • "syntax" -> "Syntax Highlighting Application" on the 11th spot
      • "home page" -> "Home Page Application" on the 14th spot
      • etc...

      The top results usually have nothing to do with the searched term because, from what I can see from the code, the query used for the search does not do any "ORDER BY".

      Basically we would need to start ordering the results, preferably prioritising titles over descriptions and so on.

      Here are 2 options:

      1. Use ORDER BY CASE in the existing HQL queries.
      2. Use Solr if available in the running environment and maybe fallback on 1.
        • A bit longer to implement, but better query performance.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: