Total number of results returned from Search API not in accordance with limit and numCursors params

Description

In the attached image, the limit is 3 and the numCursors param is set to 10, so the API should return 30 (or 33?) results back. But here it's returning 54, which is the total number of results.

Release Notes

None

Activity

Show:
Bhooshan Mogal
February 23, 2017, 10:15 PM

Since this is an unintended change in REST API behavior, it should be fixed in 4.1

Bhooshan Mogal
February 23, 2017, 10:18 PM

The consequence of this is - its doing a full table scan, when it was optimized to not do it.

Ali Anwar
February 23, 2017, 11:11 PM

May be due to the changes in https://github.com/caskdata/cdap/pull/7620.

Denton Liu
February 24, 2017, 1:36 AM
Fixed

Assignee

Denton Liu

Reporter

Tony Bach

Labels

None

Docs Impact

None

UX Impact

None

Fix versions

Affects versions

Priority

Major
Configure