def create_search_schema(self, schema, content):
        if not self.yz_wm_schema:
            raise NotImplementedError("Search 2.0 administration is not "
                                      "supported for this version")

        url = self.search_schema_path(schema)
        headers = {'Content-Type': 'application/xml'}

        # Run the request...
        status, header, body = self._request('PUT', url, headers, content)

        if status != 204:
            raise RiakError('Error creating Search 2.0 schema.')
        return True
Set the parent for outbound messages.
dataset/ETHPy150Open basho/riak-python-client/riak/transports/http/transport.py/HttpTransport.create_search_schema--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/zmq/displayhook.py/ZMQShellDisplayHook.set_parent