Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-268

Content search REST API calls returns results in different order creating pagination issues leading to duplicate or omitted results

XMLWordPrintable

    • Severity 2 - Major
    • 0

      Issue Summary

      Search API results order intermittently changes from request to request (using the same query). The impact that this issue can have on data quality and user experience is significant, in that paginating through search result data could lead to presenting/processing duplicate data, or data omission (a result being skipped).

      Steps to Reproduce

      1. Open your favorite web browser (JSON-formatter plugin helpful, but optional)
      2. Open the following search API request 7 to 10 times (into different tabs): https://ecosystem.atlassian.net/wiki/rest/api/latest/content/search?expand=space&limit=10&start=5&cql=space%3DMAR+and+type%3Dpage
      3. Observe results between the tabs

      Expected Results

      Search result order will be identical for each request.

      Actual Results

      Search result order varies intermittently. 

      ...
      

      Workaround

      Currently there is no known workaround for this behavior. 

              drizzuto David Rizzuto (Inactive)
              62d691955a6a Bob Swift {Appfire}
              Votes:
              7 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: