Page MenuHomePhabricator

D9785.id.diff
No OneTemporary

D9785.id.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, Nov 10, 8:35 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716468
Default Alt Text
D9785.id.diff (668 B)

Event Timeline