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

Lucene plugin always search in all wikis

    XMLWordPrintable

Details

    Description

      When calling LucenePluginApi.getSearchResults when some wiki names in "virtualWikiNames"
      parameters, results from all wikis are returned even from wikis not in "virtualWikiNames". The api documentation says : "virtualWikiNames Names of the virtual wikis to search in. May be null for global search.".

      The problem is that when making the Lucene query wikis are added with "SHOULD" marker in place of "MUST" marker.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: