Permalink
Browse files

Improved the docs for View->from

Closes #30
  • Loading branch information...
1 parent 5805cba commit 25437431dbbee7a0952b4ce60287c6b044b08eec @clintongormley committed Jan 8, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Elastic/Model/View.pm
View
6 lib/Elastic/Model/View.pm
@@ -819,8 +819,10 @@ B<Note:> Sorting cannot be combined with L</scan()>.
$from = $view->from;
-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 L</from>.
+By default, results are returned from the first result. Think of it as
+I<"the number of docs to skip">, so setting C<from> to C<0> would start from
+the first result. Setting C<from> to C<10> would skip the first 10 results
+and return docs from result number 11 onwards.
=head2 size

0 comments on commit 2543743

Please sign in to comment.