Fix a bad call in ElasticSearch recovery code
Summary: Ref T4446. Some discussion in IRC. Prior to hitting the 1.0.0 issue, we hit and resolved this issue; this is a leftover call from bringing ApplicationSearch to main search. Test Plan: User confirmed this fixes the issue. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4446 Differential Revision: https://secure.phabricator.com/D8260
This commit is contained in:
@@ -222,7 +222,8 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
||||
throw $ex;
|
||||
}
|
||||
$query = clone $query;
|
||||
$query->setQuery(
|
||||
$query->setParameter(
|
||||
'query',
|
||||
addcslashes(
|
||||
$query->getParameter('query'), '+-&|!(){}[]^"~*?:\\'));
|
||||
$response = $this->executeRequest($uri, $this->buildSpec($query));
|
||||
|
||||
Reference in New Issue
Block a user