Details
-
Bug
-
Resolution: Won't Do
-
Medium
-
None
-
5.7.1
-
standalone, java 8, windows, chrome and ie
Description
When a search contains more than 1000 results, only the first 100 pages can be accessed.
When switching to page 101 (startIndex=1000), the result page shows "no results found". This issue is also present in the RestAPI. Using the RestAPI, when there are over 1000 results, once the startIndex reaches 1000, Confluence returns zero results.
Steps to Reproduce
- Perform a search in Confluence that returns 1000+ results.
- Page through the results by clicking page 100 or changing the StartIndex value in the URL to 1000.
Expected Results
Additional search results display.
Actual Result
A message "No results found for confluence. Please try one of the following suggestions:
Use more general search terms or consult the online documentation for tips.
If you are filtering by space, content, last modification date or contributor, try removing or adjusting the filter" is received.
See attachments.
Notes
This behavior is by design. There is system property confluence.search.max.results that limits the number of pages returned in any search query. The default value is 1000.
Workaround
Modify the Java system property confluence.search.max.results e.g. -Dconfluence.search.max.results. Changing 1000 to 2000 will increase the number of pages returned to 2000