From 4e112537b255b2a19804d3b9b520e11fd60e5682 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 2 Nov 2015 16:21:43 +0000 Subject: [PATCH] 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 --- .../search/engine/PhabricatorElasticSearchEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/search/engine/PhabricatorElasticSearchEngine.php b/src/applications/search/engine/PhabricatorElasticSearchEngine.php index e99160839f..fa6bdf8fee 100644 --- a/src/applications/search/engine/PhabricatorElasticSearchEngine.php +++ b/src/applications/search/engine/PhabricatorElasticSearchEngine.php @@ -79,7 +79,7 @@ final class PhabricatorElasticSearchEngine extends PhabricatorSearchEngine { $spec['relationship'][$rtype][] = array( 'phid' => $to_phid, 'phidType' => $to_type, - 'when' => $time, + 'when' => (int)$time, ); }