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

Solr search should return entry that you will see with this current locale and not only the entries in the current locale or parent locales

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1-milestone-2
    • Fix Version/s: 5.1-rc-1
    • Component/s: Search - Solr
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Imagine a document in english that happen to be the default version and there is no french translation for it. If you search with french as current locale you won't find it because it's not in fr or "no language". But IMO we need to move from "document in the current locale and parent locales" to "document you see with that current locale".

      Detailed use case:

      • enable multilanguage
      • with the current locale being english create a new document
      • switch to french locale
      • go to the document -> you see the english version as expected
      • search that document -> you don't find anything because that's an english document and Solr search UI search for french document and document without any locale only by default

      The goal is to find the english version as being "the version you see when the current locale is fr not matter what is the locale of the document".

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: