1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/search/engine
Lex a230e0fab7 switch from term query to match query
Summary:
Switch to the `match` query.  The operator is set to `and` because it defaults to `or` which is likely to annoy users.  We might want to consider using `query_string` to get booleans, wildcards, and other features.  The only problem with `query_string` is that it can allow querying on other fields in the json document, and we may want to prevent that.  That might even expose information we don't want to expose.  Another option would be to parse booleans ourselves and translate them to the ES query DSL.

fixes T5488

Test Plan: Try the `vpn`/`VPN` test case described in T5488.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: WikiChad, epriestley, Korvin

Maniphest Tasks: T5488

Differential Revision: https://secure.phabricator.com/D9785
2014-07-09 15:47:07 -07:00
..
PhabricatorApplicationSearchEngine.php Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorJumpNavHandler.php Modernize documentation links 2014-03-17 15:01:31 -07:00
PhabricatorSearchEngine.php Partially use ApplicationSearch in main search 2014-02-03 12:51:08 -08:00
PhabricatorSearchEngineElastic.php switch from term query to match query 2014-07-09 15:47:07 -07:00
PhabricatorSearchEngineMySQL.php Remove @group annotations 2014-07-10 08:12:48 +10:00