Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1097061
PonderQuestionFulltextEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
605 B
Referenced Files
None
Subscribers
None
PonderQuestionFulltextEngine.php
View Options
<?php
final
class
PonderQuestionFulltextEngine
extends
PhabricatorFulltextEngine
{
protected
function
buildAbstractDocument
(
PhabricatorSearchAbstractDocument
$document
,
$object
)
{
$question
=
$object
;
$document
->
setDocumentTitle
(
$question
->
getTitle
());
$document
->
addField
(
PhabricatorSearchDocumentFieldType
::
FIELD_BODY
,
$question
->
getContent
());
$document
->
addRelationship
(
PhabricatorSearchRelationship
::
RELATIONSHIP_AUTHOR
,
$question
->
getAuthorPHID
(),
PhabricatorPeopleUserPHIDType
::
TYPECONST
,
$question
->
getDateCreated
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 30, 11:30 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
273436
Default Alt Text
PonderQuestionFulltextEngine.php (605 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment