Page MenuHomePhabricator

D9785.diff
No OneTemporary

D9785.diff

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
@@ -97,8 +97,11 @@
if (strlen($query->getParameter('query'))) {
$spec[] = array(
- 'term' => array(
- 'field.corpus' => $query->getParameter('query'),
+ 'match' => array(
+ 'field.corpus' => array(
+ 'operator' => 'and',
+ 'query' => $query->getParameter('query'),
+ ),
),
);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 27, 8:36 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716468
Default Alt Text
D9785.diff (668 B)

Event Timeline