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

The extension whose name matches the search query should be listed first in the EM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 16.2.0
    • Extension
    • Unknown

    Description

      When I'm searching "Change Request Application" in the Extension Manager, the Change Request Application doesn't actually show up in the results.

      I believe this is caused by three things:

      1. The exact match is not particularly prioritized (though some fuzzy search might be desirable - "Chang Rquest Aplication" should return "Change Request Application" first too)
      2. "Application "or "Macro" is in virtually all our extension names
      3. The search is performed doing an OR between the terms, not an AND, as evidenced by the "Change AND Request AND Application" query returning the Change Request Application
        1. That one can use Solr syntax is undocumented in the UI
        2. Users don't generally know Solr syntax
        3. I believe terms should be Solr-escaped and solr syntax only used if an "advanced mode" is explicitly enabled. By default, the search should be performed with an AND between each words given by the user.
        4. I have the same opinion for the  global quick search and the main search application. An OR search is usually not what people want they usually want all their terms to match - so it might be desirable to work on this more generally across XWiki

      The consequence of 2 and 3 is that if a user types the name of an extension, it is usually not found because "Application" or "Macro" matches the world.

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: