Skip to content

Commit 4e11253

Browse files
epriestleyepriestley
authored andcommitted
Probable fix for ElasticSearch 2.0 type strictness
Summary: Fixes T9670. Test Plan: Will follow up on task. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9670 Differential Revision: https://secure.phabricator.com/D14370
1 parent b7a4d3b commit 4e11253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/applications/search/engine/PhabricatorElasticSearchEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function reindexAbstractDocument(
7979
$spec['relationship'][$rtype][] = array(
8080
'phid' => $to_phid,
8181
'phidType' => $to_type,
82-
'when' => $time,
82+
'when' => (int)$time,
8383
);
8484
}
8585

0 commit comments

Comments
 (0)