public function replaceDocument($documentId, array $content, array $options = [])
    {
        $data = [
            '_id' => $documentId,
            'body' => $content
        ];

        $response = $this->kuzzle->query(
            $this->buildQueryArgs('document', 'createOrReplace'),
            $this->kuzzle->addHeaders($data, $this->headers),
            $options
        );

        $content = $response['result']['_source'];
        $content['_version'] = $response['result']['_version'];
        $meta = $response['result']['_meta'];

        return new Document($this, $response['result']['_id'], $content, $meta);
    }