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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.1-rc-1
    • 5.1-milestone-2
    • Search - Solr
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: