Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F453504
PhabricatorFerretField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
950 B
Referenced Files
None
Subscribers
None
PhabricatorFerretField.php
View Options
<?php
abstract
class
PhabricatorFerretField
extends
PhabricatorSearchDAO
{
protected
$documentID
;
protected
$fieldKey
;
protected
$rawCorpus
;
protected
$termCorpus
;
protected
$normalCorpus
;
abstract
public
function
getIndexKey
();
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'documentID'
=>
'uint32'
,
'fieldKey'
=>
'text4'
,
'rawCorpus'
=>
'sort'
,
'termCorpus'
=>
'sort'
,
'normalCorpus'
=>
'sort'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_documentfield'
=>
array
(
'columns'
=>
array
(
'documentID'
,
'fieldKey'
),
'unique'
=>
true
,
),
),
)
+
parent
::
getConfiguration
();
}
public
function
getTableName
()
{
$application
=
$this
->
getApplicationName
();
$key
=
$this
->
getIndexKey
();
return
"{$application}_{$key}_ffield"
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 3:10 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69123
Default Alt Text
PhabricatorFerretField.php (950 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment