Sample
Overview
The sample directive returns a random sampling of documents from a given schema. The directive also accepts an optional size parameter.
Example
Returns a random sample of documents from the Word schema using the default count (which is 100).
SAMPLE WordList:Word
Returns a random sample of 1,000 documents from the Word schema.
SAMPLE WordList:Word SIZE 1000
Related
- Keywords - A breakdown of all high-level statements available via the query handler.