Page MenuHomePhorge

DivinerLiveBookFulltextEngine.php
No OneTemporary

Size
606 B
Referenced Files
None
Subscribers
None

DivinerLiveBookFulltextEngine.php

<?php
final class DivinerLiveBookFulltextEngine
extends PhabricatorFulltextEngine {
protected function buildAbstractDocument(
PhabricatorSearchAbstractDocument $document,
$object) {
$book = $object;
$document->setDocumentTitle($book->getTitle());
$document->addField(
PhabricatorSearchDocumentFieldType::FIELD_BODY,
$book->getPreface());
$document->addRelationship(
PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY,
$book->getRepositoryPHID(),
PhabricatorRepositoryRepositoryPHIDType::TYPECONST,
$book->getDateCreated());
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 2:20 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122193
Default Alt Text
DivinerLiveBookFulltextEngine.php (606 B)

Event Timeline