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

Setting search size past SearchConstants.MAX_LIMIT produces invalid behaviour

    XMLWordPrintable

Details

    Description

      I know it's an odd thing to do, but if you set the search page size past SearchConstants.MAX_LIMIT then the search will return SearchConstants.MAX_LIMIT results but when you step to the next page it will use the requested page size as it's start point skipping the results in the middle.

      The search should probably throw an exception when more results than SearchConstants.MAX_LIMIT are requested, or cap the page size to the limit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9fcfb21963e3 Alain Moran
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: