Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/query/PhabricatorSearchDocumentQuery.php
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | protected function willFilterPage(array $handles) { | ||||
return $handles; | return $handles; | ||||
} | } | ||||
public function loadDocumentPHIDsWithoutPolicyChecks() { | public function loadDocumentPHIDsWithoutPolicyChecks() { | ||||
$query = id(clone($this->savedQuery)) | $query = id(clone($this->savedQuery)) | ||||
->setParameter('offset', $this->getOffset()) | ->setParameter('offset', $this->getOffset()) | ||||
->setParameter('limit', $this->getRawResultLimit()); | ->setParameter('limit', $this->getRawResultLimit()); | ||||
return PhabricatorSearchService::executeSearch($query); | |||||
$engine = PhabricatorFulltextStorageEngine::loadEngine(); | |||||
return $engine->executeSearch($query); | |||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorSearchApplication'; | return 'PhabricatorSearchApplication'; | ||||
} | } | ||||
protected function getResultCursor($result) { | protected function getResultCursor($result) { | ||||
throw new Exception( | throw new Exception( | ||||
Show All 10 Lines |