def sample(self, size=<NUM_LIT:100>):
self._q.append({'<STR_LIT>': {'<STR_LIT:size>': size}})<EOL>return self<EOL>
Randomly selects the specified number of documents from its input.
:param size: The size of sample
:return: The current object