def __init__(self, logic=None, weight=None, simple=None, simple_weight=None, dataset=None, system=None, file=None,<EOL>query=None, **kwargs):
self._logic = None<EOL>self.logic = logic<EOL>self._weight = None<EOL>self.weight = weight<EOL>self._simple = None<EOL>self.simple = simple<EOL>self._simple_weight = None<EOL>self.simple_weight = simple_weight<EOL>self._dataset = None<EOL>self.dataset = dataset<EOL>self._system = None<EOL>self.system = system<EOL>self._file = None<EOL>self.file = file<EOL>self._query = None<EOL>self.query = query<EOL>
Constructor.

:param logic: The logic to apply to the query ('SHOULD', 'MUST', 'MUST_NOT', or 'OPTIONAL').
:param weight: Weight for the query.
:param simple: String with the simple search to run against all fields.
:param simple_weight: Dictionary of relative paths to their weights for simple queries.
:param dataset: One or more :class:`DatasetQuery` objects with queries against dataset metadata.
:param system: One or more :class:`PifSystemQuery` objects with queries against PIF systems
:param file: One or more :class:`FileQuery` objects with queries against file content or metadata.
:type file: :class:`FileQuery`
:param query: Nested list of :class:`DataQuery` objects.