You are here

function sarnia_solr_service_schema_defaults in Sarnia 7

2 calls to sarnia_solr_service_schema_defaults()
sarnia_install in ./sarnia.install
sarnia_update_7001 in ./sarnia.install
Create the new {sarnia_solr_service_schema} table. Replaces update 7000.

File

./sarnia.install, line 122

Code

function sarnia_solr_service_schema_defaults() {
  return array(
    //search_api_server,  behavior,   match_type,     match_value,   effect,     replacement
    array(
      '',
      'display',
      'name',
      'content',
      'disable',
      '',
    ),
    array(
      '',
      'display',
      'name',
      'spell',
      'disable',
      '',
    ),
    array(
      '',
      'fulltext',
      'dynamicBase',
      'sort_*',
      'disable',
      '',
    ),
    array(
      '',
      'sort',
      'name',
      'content',
      'disable',
      '',
    ),
    array(
      '',
      'sort',
      'name',
      'spell',
      'disable',
      '',
    ),
    array(
      '',
      'sort',
      'dynamicBase',
      'sort_*',
      'replace',
      'ss_*',
    ),
    array(
      '',
      'sort',
      'dynamicBase',
      'iss_*',
      'replace',
      'is_*',
    ),
  );
}