Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58358

Using search.title and space fields in CQL also matches with the space creator

    XMLWordPrintable

Details

    Description

      Issue Summary

      Searching for spaces with space.title field using contains operator (~) also matches with the creator's username. It returns spaces even if the space title does not match with the given input but the input matches a creator name.

      Steps to Reproduce

      1. Search for spaces with a space.title that contains texts that also matches a space creator's name like /rest/api/search?cql=type=space%20and%20space.title~%22testuser*%22

      Expected Results

      It should only return spaces if the given input matches the space title or part of it

      Actual Results

      The above call returns spaces even though there is no space title that contains the word "testuser" but was created by user "testuser" or "testuser1" etc...

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9770b718-b2c5-4764-a30d-e2025b03018c Deleted Account (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: