CQL search returns pages that do not have the specified label

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      When running a CQL search filtered by a specific label, the results include pages that do not have that label applied. This suggests that the label filter in CQL is not being respected, and irrelevant pages are being returned.

      This behavior is misleading for users relying on labels to narrow down search results and may impact reporting, navigation, and any automation or integrations depending on accurate CQL queries.

      Steps to Reproduce

      1. Open the CQL search endpoint or interface (e.g., via REST API or advanced search).
      1. Run a CQL query that explicitly filters by a label, for example:
         label = "<RESPECTIVE_LABEL>"
        (Replace <RESPECTIVE_LABEL> with the actual label being used.)
      1. Review the search results and open several of the returned pages.
      1. Check the labels on those pages.
      1.  

      Expected Results

      Only pages that have the specified label <RESPECTIVE_LABEL> are returned by the CQL query.

      Actual Results

      The CQL query returns pages that do not have the specified label <RESPECTIVE_LABEL>. These pages appear in the result set despite not meeting the label condition.

      Workaround

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

              Assignee:
              Unassigned
              Reporter:
              Shivkumar Kachapur (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: