I want to limit my search results, but I couldn\'t get working with the method setLength(). It is retrieving all the data (more than the number I put there to limit)