[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/search/storage/document/ -> PhabricatorSearchDocumentField.php (source)

   1  <?php
   2  
   3  final class PhabricatorSearchDocumentField extends PhabricatorSearchDAO {
   4  
   5    protected $phidType;
   6    protected $field;
   7    protected $auxPHID;
   8    protected $corpus;
   9  
  10    public function getConfiguration() {
  11      return array(
  12        self::CONFIG_TIMESTAMPS => false,
  13        self::CONFIG_IDS        => self::IDS_MANUAL,
  14        self::CONFIG_COLUMN_SCHEMA => array(
  15          'phidType' => 'text4',
  16          'field' => 'text4',
  17          'auxPHID' => 'phid?',
  18          'corpus' => 'fulltext?',
  19        ),
  20        self::CONFIG_KEY_SCHEMA => array(
  21          'key_phid' => null,
  22          'phid' => array(
  23            'columns' => array('phid'),
  24          ),
  25          'corpus' => array(
  26            'columns' => array('corpus'),
  27            'type' => 'FULLTEXT',
  28          ),
  29        ),
  30      ) + parent::getConfiguration();
  31    }
  32  
  33    public function getIDKey() {
  34      return 'phid';
  35    }
  36  
  37  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1