You are here

function rustemmer_search_admin in Russian stemming 7

Implements hook_search_admin().

File

./rustemmer.module, line 57
Russian stemming algorith provided by Dr Martin Porter.

Code

function rustemmer_search_admin() {
  $form = array();
  $form['indexing_settings']['rustemmer_stemcaching'] = array(
    '#type' => 'checkbox',
    '#title' => t('Stem caching'),
    '#default_value' => variable_get('rustemmer_stemcaching', 0),
    '#description' => t('Apply stem caching while performing search phrase stemming. Warning: This could lead to additional memory consumption while indexing.'),
  );
  return $form;
}