couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Lang <perfectly.normal.hac...@gmail.com>
Subject offset in view response
Date Thu, 27 Jan 2011 11:13:53 GMT
I couldn't find a single sentence about the offset member
of a view response in either the reference on couchone.com
or the reference on the wiki.

Only thing I could find was this:

"Note: If you use group_level, total_rows and offset will be omitted
from the results (this is done to avoid scanning the entire tree. "

here: http://wiki.apache.org/couchdb/HTTP_view_API

Does it make sense to display this offset to the user in pagination
(like "you are viewing elements 41 to 60 from 500")?
And is it future-proof or only informal meta data?

Or am I misunderstanding its meaning?

Thanks,
Stefan

Mime
View raw message