DISCO sampling returns a randomized set of documents matching your search criteria.
Syntax
| Search | Result |
sample(0.1, "any query") | 10% of matching documents |
sample(10%, "any query") | 10% of matching documents |
sample(500, "any query") | A maximum of 500 matching documents |
sample(10, tag(by price@csdisco.com)) | 10 documents tagged by that user |
Complex example
To search a 10% sample of the keywords "budget," "fraud," or "inquiry" with custodian Jeff Skilling within a date range:
sample(10%,("budget" "fraud" "inquiry") & custodian("Jeff Skilling") & date(1/1/2000 to 1/1/2002))Notes
- Re-running the same search returns a new random subset.
- Sort order is disabled when using sampling.