start parameter is not working on the search REST API

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • Component/s: Search - Indexing
    • None
    • Severity 3 - Minor

      Issue Summary

      The "start" parameter for GET /wiki/rest/api/search is not working, so the request always presents the same results no matter the value we parse through that parameter

      Steps to Reproduce

      1. Use the REST API to perform a search which should present a high number of results (tested with +100)
        /wiki/rest/api/content/search?cql=text~test
      2. Try to use the limit and start parameters to paginate the results
        /wiki/rest/api/content/search?start=10&limit=100&cql=text~test

      Expected Results

      Both the limit and start parameters should affect the results

      Actual Results

      Only the limit parameters work, the start parameter doesn't affect the results, which will always begin with the same page

      Workaround

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

              Assignee:
              Unassigned
              Reporter:
              Guilherme T (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: