title: Spring data mongodb query skip() works not how it should.
body: <p>I discovered that skip() in a query using mongoOperations acts funny.</p>
  
  <p>I have this code: </p>
  
  <pre><code>if (question.getCategory() == "" &amp;&amp; question.getDifficulty() == 0 &amp;&amp; question.getNumberOfCorrectAnswers() == 0) 
          return mongoOperations.find(new Query(Criteria.where("question").regex(questionPattern, "i"))
          .limit(getLimit()).skip(getSkip()), Question.class);
  </code></pre>
  
  <p>I use it in my search method. I want to do a pagination. For example limit the results to 10 and skip the first 5. </p>
  
  <p>limit() works just fine, but skip() when it gets the value of 1 displays the 1st document in the collection. limit() is on 0 by default as to not shorten the range.</p>
  
  <p>I checked in mongodb shell and skip(1) is viewing documents starting from the second one.</p>
  
  <p>Anybody got an idea how to fix this?</p>