<?php Solr::include_client_api(); abstract class SolrIndex extends SearchIndex { static $fulltextTypeMap = array('*' => 'text', 'HTMLVarchar' => 'htmltext', 'HTMLText' => 'htmltext'); static $filterTypeMap = array('*' => 'string', 'Boolean' => 'boolean', 'Date' => 'tdate', 'SSDatetime' => 'tdate', 'SS_Datetime' => 'tdate', 'ForeignKey' => 'tint', 'Int' => 'tint', 'Float' => 'tfloat', 'Double' => 'tdouble'); static $sortTypeMap = array(); protected $analyzerFields = array(); protected $copyFields = array(); protected $extrasPath = null; protected $templatesPath = null; /** * List of boosted fields * * @var array */ protected $boostedFields = array(); /** * Name of default field * * @var string * @config */ private static $default_field = '_text'; /** * List of copy fields all fulltext fields should be copied into. * This will fallback to default_field if not specified * * @var array */