chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Weber <>
Subject Re: maxItems parameter?
Date Sat, 17 Oct 2015 11:45:18 GMT
OK, that answers the question I asked. 

What I am really looking for is a way to tell the service the maximum number of query results
I want returned in sum-total. 

Basically a way to pass a query optimization hint like "RETURN TOP". 


On October 17, 2015 7:11:09 AM EDT, "Florian Müller" <> wrote:
>Hi AJ,
>Yes, that is supported by OpenCMIS and DotCMIS.
>You control the maxItems parameter with the getPage() method and the
>skipCount parameter with the skipTo() method.
>To get the first 10 hits call this:
>To skip the first 3 hits and then get a list of max 100 hits call this:
>The corresponding JavaDoc is here:
>- Florian
>> It is my understanding that there is an optional "maxItems" for (at
>> least) searching in the CMIS standard?
>> A quote from something I read: The CMIS specification defines the
>> maxItems parameter as “the maximum number of items to return in a
>> response”.
>> I believe this is different than "MaxItemsPerPage" in our OC
>> But the actual question is whether this is supported/available in
>> DotCMIS (or OpenCMIS)? I expected it to maybe be in the OC, but it's
>> there. Checked if there's an overloaded session.Query() method, but
>> not there either.
>> Is this available???
>> Thanks,
>> AJ

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message