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

Searching for "panel wizard" or "stream" doesn't return the most relevant documents as the top search results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2 M3
    • 3.2 M2
    • Old Core
    • None
    • Easy

    Description

      This happens because the velocity context used when indexing doesn't contain the $msg variable, so the indexed title is the verbatim "$msg.get('translation.key')", which doesn't match the search terms.

      A new VelocityContextInitializer which adds the $msg variable in every velocity context created should solve this issue.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: