Running Confluence 6.9.1
I am issuing the following REST request:
/rest/api/search?expand=content.history&cql=text~"widget" and type IN (page, blogpost, comment, attachment)&start=0&limit=1000&excerpt=indexed"
The actual number of matching documents is 107 and this is what is returned in the totalSize property of the response.
However, I actually receive only 53 items in this case, where items is the number of 'content' nodes in the result which also equals the value of the 'size' property of the result. I would have expected to get 107. In fact, no matter what I set limit to, I don't get that number of items returned. If I set limit=10, I get back 4 items. If I set no limit (which defaults to 25), I get back 11 items. Start is always set to 0 in these tests.
Can anyone tell me what I'm doing wrong?