clintongormley / Elastic-Model

Use ElasticSearch as a NoSQL database in Perl
9 stars 8 forks source link

Docs for ::View->from should clarify that 0 is the first record #30

Closed timbunce closed 11 years ago

timbunce commented 11 years ago

Currently says:

By default, results are returned from the first result. If you would like to start at a later result (eg for paging), you can set "from".

but that doesn't make it clear if the default is 0 or 1. Worth adding that, and maybe noting that 'from' can be thought of as 'number of documents to skip'.