def __init__(self, query=None, from_index=None, size=None, random_results=None, random_seed=None,<EOL>score_relevance=None, return_max_score=None, timeout=None, count_pifs=None, **kwargs):
super(DatasetReturningQuery, self).__init__(<EOL>query=query, from_index=from_index, size=size, random_results=random_results, random_seed=random_seed,<EOL>score_relevance=score_relevance, return_max_score=return_max_score, timeout=timeout, **kwargs)<EOL>self._count_pifs = None<EOL>self.count_pifs = count_pifs<EOL>
Constructor.

:param query: One or more :class:`DataQuery` objects with the queries to run.
:param from_index: Index of the first hit that should be returned.
:param size: Total number of hits the should be returned.
:param random_results: Whether to return a random set of records.
:param random_seed: The random seed to use.
:param score_relevance: Whether to use relevance scoring.
:param return_max_score: Whether to return the maximum score.
:param timeout: The number of milliseconds to wait for the query to execute.
:param count_pifs: Whether to return counts of PIFs for each dataset.