@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

change elasticsearch text query to match query for compat with 1.1.0

Summary:
ElasticSearch silently removed the long-deprecated `text` query in favor of the `match` query. `match` works just like `text`, so the fix is simple.

fixes T5507

Test Plan: see if the breakage is fixed

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: WikiChad, epriestley, Korvin

Maniphest Tasks: T5507

Differential Revision: https://secure.phabricator.com/D9784

authored by

Lex and committed by
epriestley
4dd9be5c 64e2aad4

+1 -1
+1 -1
src/applications/search/engine/PhabricatorSearchEngineElastic.php
··· 152 152 $should = array(); 153 153 foreach ($param as $val) { 154 154 $should[] = array( 155 - 'text' => array( 155 + 'match' => array( 156 156 "relationship.{$field}.phid" => array( 157 157 'query' => $val, 158 158 'type' => 'phrase',