Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14357494
D9784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
592 B
Referenced Files
None
Subscribers
None
D9784.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorSearchEngineElastic.php b/src/applications/search/engine/PhabricatorSearchEngineElastic.php
--- a/src/applications/search/engine/PhabricatorSearchEngineElastic.php
+++ b/src/applications/search/engine/PhabricatorSearchEngineElastic.php
@@ -152,7 +152,7 @@
$should = array();
foreach ($param as $val) {
$should[] = array(
- 'text' => array(
+ 'match' => array(
"relationship.{$field}.phid" => array(
'query' => $val,
'type' => 'phrase',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 5:27 AM (17 h, 6 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6912859
Default Alt Text
D9784.diff (592 B)
Attached To
Mode
D9784: change elasticsearch text query to match query for compat with 1.1.0
Attached
Detach File
Event Timeline
Log In to Comment