<commit_before><?php

$addon = rex_addon::get('search_it');
$form = rex_config_form::factory($addon->name);

$form->addFieldset($this->i18n('search_it_settings_title_index_article'));

/*
$field = $form->addCheckboxField('reindex_cols_onforms');
$field->setLabel("");
$field->addOption($this->i18n('search_it_settings_reindex_cols_onforms_label'), '1');
*/
$field = $form->addCheckboxField('index_url_addon');
$field->setLabel("");
$field->addOption($this->i18n('search_it_settings_index_url_addon_label'), '1');


$fragment = new rex_fragment();
$fragment->setVar('class', 'edit', false);
$fragment->setVar('title', $addon->i18n('search_it_settings'), false);
$fragment->setVar('body', $form->get(), false);
echo $fragment->parse('core/page/section.php');

$form_name = $form->getName();
if (rex_post($form_name.'_save')) {
    rex_view::info($this->i18n('search_it_settings_saved'));
}<commit_msg>remove url settings from mode settings<commit_after><?php

$addon = rex_addon::get('search_it');
$form = rex_config_form::factory($addon->name);

$form->addFieldset($this->i18n('search_it_settings_title_index_article'));

/*
$field = $form->addCheckboxField('reindex_cols_onforms');
$field->setLabel("");
$field->addOption($this->i18n('search_it_settings_reindex_cols_onforms_label'), '1');
*/

$fragment = new rex_fragment();
$fragment->setVar('class', 'edit', false);
$fragment->setVar('title', $addon->i18n('search_it_settings'), false);
$fragment->setVar('body', $form->get(), false);
echo $fragment->parse('core/page/section.php');

$form_name = $form->getName();
if (rex_post($form_name.'_save')) {
    rex_view::info($this->i18n('search_it_settings_saved'));
}
{'fraction_non_alphanumeric': 0.2184873949579832, 'fraction_numerical': 0.012605042016806723, 'mean_word_length': 9.895424836601308, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, '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': '2814553', 'n_tokens_mistral': 613, 'n_tokens_neox': 602, 'n_words': 70}