docs: def client(self):
          """Get an elasticsearch client
          """
          if not hasattr(self, "_client"):
              self._client = connections.get_connection("default")
          return self._client