mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Add comments
This commit is contained in:
parent
3ce69b6306
commit
05718706ab
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
|||
$phid = $doc->getPHID();
|
||||
$handle = PhabricatorObjectHandleData::loadOneHandle($phid);
|
||||
|
||||
// URL is not used internally but it can be useful externally.
|
||||
$spec = array(
|
||||
'title' => $doc->getDocumentTitle(),
|
||||
'url' => PhabricatorEnv::getProductionURI($handle->getURI()),
|
||||
|
@ -144,6 +145,8 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
|||
),
|
||||
);
|
||||
}
|
||||
// We couldn't solve it by minimum_number_should_match because it can
|
||||
// match multiple owners without matching author.
|
||||
$spec[] = array('bool' => array('should' => $should));
|
||||
} else if ($param) {
|
||||
$filter[] = array(
|
||||
|
|
Loading…
Reference in a new issue