<commit_before><?php
abstract class Vpc_News_Detail_Abstract_Component extends Vpc_Directories_Item_Detail_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['generators']['child']['component']['content'] = 'Vpc_Paragraphs_Component';
        $ret['cssClass'] = 'webStandard';
        $ret['placeholder']['backLink'] = trlVps('Back to overview');
        $ret['editComponents'] = array('content');
        $ret['flags']['hasFulltext'] = true;
        return $ret;
    }

    public function getTemplateVars()
    {
        $ret = parent::getTemplateVars();
        $ret['title'] = $this->getData()->row->title;
        $ret['publish_date'] = $this->getData()->row->publish_date;
        return $ret;
    }

    public function hasContent()
    {
        return $this->getData()->getChildComponent('-content')->hasContent();
    }

    public static function modifyItemData(Vps_Component_Data $new)
    {
        parent::modifyItemData($new);
        $new->publish_date = $new->row->publish_date;
        $new->teaser = $new->row->teaser;
    }

    public function modifyFulltextDocument(Zend_Search_Lucene_Document $doc)
    {
        $fieldName = $this->getData()->componentId;

        $field = Zend_Search_Lucene_Field::Keyword('vpcNews', 'vpcNews', 'utf-8');
        $field->boost = 0.0001;
        $doc->addField($field);

        return $doc;
    }
}<commit_msg>remove unused variable<commit_after><?php
abstract class Vpc_News_Detail_Abstract_Component extends Vpc_Directories_Item_Detail_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['generators']['child']['component']['content'] = 'Vpc_Paragraphs_Component';
        $ret['cssClass'] = 'webStandard';
        $ret['placeholder']['backLink'] = trlVps('Back to overview');
        $ret['editComponents'] = array('content');
        $ret['flags']['hasFulltext'] = true;
        return $ret;
    }

    public function getTemplateVars()
    {
        $ret = parent::getTemplateVars();
        $ret['title'] = $this->getData()->row->title;
        $ret['publish_date'] = $this->getData()->row->publish_date;
        return $ret;
    }

    public function hasContent()
    {
        return $this->getData()->getChildComponent('-content')->hasContent();
    }

    public static function modifyItemData(Vps_Component_Data $new)
    {
        parent::modifyItemData($new);
        $new->publish_date = $new->row->publish_date;
        $new->teaser = $new->row->teaser;
    }

    public function modifyFulltextDocument(Zend_Search_Lucene_Document $doc)
    {
        $field = Zend_Search_Lucene_Field::Keyword('vpcNews', 'vpcNews', 'utf-8');
        $field->boost = 0.0001;
        $doc->addField($field);

        return $doc;
    }
}
{'fraction_non_alphanumeric': 0.1600284495021337, 'fraction_numerical': 0.004267425320056899, 'mean_word_length': 3.204783258594918, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3383799', 'n_tokens_mistral': 850, 'n_tokens_neox': 842, 'n_words': 134}