3 final class PhameBlogFulltextEngine
4 extends PhabricatorFulltextEngine
{
6 protected function buildAbstractDocument(
7 PhabricatorSearchAbstractDocument
$document,
12 $document->setDocumentTitle($blog->getName());
15 PhabricatorSearchDocumentFieldType
::FIELD_BODY
,
16 $blog->getDescription());
18 $document->addRelationship(
20 ? PhabricatorSearchRelationship
::RELATIONSHIP_CLOSED
21 : PhabricatorSearchRelationship
::RELATIONSHIP_OPEN
,
23 PhabricatorPhameBlogPHIDType
::TYPECONST
,
24 PhabricatorTime
::getNow());