Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F554975
PhabricatorSearchIndexVersion.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
879 B
Referenced Files
None
Subscribers
None
PhabricatorSearchIndexVersion.php
View Options
<?php
final
class
PhabricatorSearchIndexVersion
extends
PhabricatorSearchDAO
{
protected
$objectPHID
;
protected
$extensionKey
;
protected
$version
;
protected
$indexVersion
;
protected
$indexEpoch
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'extensionKey'
=>
'text64'
,
'version'
=>
'text128'
,
'indexVersion'
=>
'bytes12'
,
'indexEpoch'
=>
'epoch'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_object'
=>
array
(
'columns'
=>
array
(
'objectPHID'
,
'extensionKey'
),
'unique'
=>
true
,
),
// NOTE: "bin/search index" may query this table by "indexVersion" or
// "indexEpoch", but this is rare and scanning the table seems fine.
),
)
+
parent
::
getConfiguration
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 6:20 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
112744
Default Alt Text
PhabricatorSearchIndexVersion.php (879 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment