skip( )


Sets the number of documents to skip before returning search results.

The skip() function defines the number of results to skip in the search results before returning new search results.

For example, if you search your site and 20 documents match your search, but you set skip() to 5, the results returned will skip the first 5 documents that match and return the 6th through 20th documents.

By default, skip() is set to 0.

The maximum value that skip() can accept is 100000.

Method Declaration
Copy
Method Parameters
skipnumberRequired

The number of documents to skip in the search results before returning the results.

Was this helpful?
Yes
No