Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/search/DivinerBookSearchIndexer.php
Show All 18 Lines | $doc->addField( | ||||
$book->getPreface()); | $book->getPreface()); | ||||
$doc->addRelationship( | $doc->addRelationship( | ||||
PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY, | PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY, | ||||
$book->getRepositoryPHID(), | $book->getRepositoryPHID(), | ||||
PhabricatorRepositoryRepositoryPHIDType::TYPECONST, | PhabricatorRepositoryRepositoryPHIDType::TYPECONST, | ||||
$book->getDateCreated()); | $book->getDateCreated()); | ||||
$this->indexTransactions( | |||||
$doc, | |||||
new DivinerLiveBookTransactionQuery(), | |||||
array($phid)); | |||||
return $doc; | return $doc; | ||||
} | } | ||||
} | } |