code: public function mapFields(Content $content, $languageCode)
      {
          $contentType = $this->contentTypeHandler->load(
              $content->versionInfo->contentInfo->contentTypeId
          );
  
          $maxDepth = $this->indexingDepthProvider->getMaxDepthForContent(
              $contentType
          );
  
          return $this->doMapFields($content, $contentType, $languageCode, $maxDepth);
      }
docs: {@inheritdoc}