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

Solr Query API searches by default only in technical documents

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4-milestone-1
    • Component/s: Search - Solr
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Easy
    • Similar issues:

      Description

      The reason for this is because the xwiki.supportedLocales Solr query parameter defaults to the ROOT locale which means that if you don't specify this parameter then the search will look only for documents without a language (technical documents). This is quite unexpected for someone that tries to use the Solr Query API and forgets to set this parameter. It should default to the configured list of supported locales instead. In other words, you should not have to set it to the list of configured locales, the Solr Query API should do this for you. Of course, we should still be able to overwrite it.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: