Understanding the documents in your database

Initial Run Through

With DISCO sampling, you can search for a randomized subset of documents within your entire set or any subset to get an idea of what they contain. Here’s how it works:

From the DISCO search bar, enter in one of the following new queries:

Sampling Search Syntax

  • sample(0.1, “any query”) - gives you 10% of search results set
  • sample(500, “any query”) - gives you a maximum of 500 documents from search results set
  • sample(10%, “any query”) - gives you 10% of search results set
  • sample(10, tag(by to get ten random documents tagged by

Within the parenthesis, enter in any valid search query. For example, to sample 10% of your entire database, enter the search sample(0.1,”!”), the exclamation point being a wildcard that indicates “search all documents”. However, if you would like to search for a randomized 10% of all documents containing the word “flowers”, change the search to sample(0.1,flowers).  

Some important items to note:

  • IF you search or refresh the page, it will give you a new random subset of documents.
  • IF you give it a number that is more than the search results, it will give you the total number of search results.
  • IF you use the sample query, sort order for search results is disabled.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Chat is online
Chat is woffline