lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php
private function getIndexFieldType(ContentType $contentType)
    {
        $newFieldType = new FieldType\TextField();
        $newFieldType->boost = $this->boostFactorProvider->getContentMetaFieldBoostFactor(
            $contentType,
            'text'
        );

        return $newFieldType;
    }
private function getIndexFieldType(ContentType $contentType)
    {
        $newFieldType = new FieldType\TextField();
        $newFieldType->boost = $this->boostFactorProvider->getContentMetaFieldBoostFactor(
            $contentType,
            'text'
        );

        return $newFieldType;
    }
Return index field type for the given $contentType.

@param \eZ\Publish\SPI\Persistence\Content\Type $contentType

@return \eZ\Publish\SPI\Search\FieldType