Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18518344
D11011.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
725 B
Referenced Files
None
Subscribers
None
D11011.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
@@ -99,11 +99,9 @@
if (strlen($query->getParameter('query'))) {
$spec[] = array(
- 'match' => array(
- 'field.corpus' => array(
- 'operator' => 'and',
- 'query' => $query->getParameter('query'),
- ),
+ 'simple_query_string' => array(
+ 'query' => $query->getParameter('query'),
+ 'fields' => array( 'field.corpus' ),
),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sep 6 2025, 3:05 PM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8698452
Default Alt Text
D11011.diff (725 B)
Attached To
Mode
D11011: Switch normal query from match to simple_query_string
Attached
Detach File
Event Timeline
Log In to Comment