1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-31 08:58:20 +01:00
phorge-phorge/src/infrastructure/query
epriestley c662dda0f1 When selecting Ferret ngrams, select term ngrams (not raw ngrams) for term search
Summary:
Ref T12819. For queries like `v0.2`, we would incorrectly search for ngrams including `0.2`, but this is only a substring ngram: the term corpus splits this into `v0` and `2`, so `0.2` is not in the ngrams table.

When executing term queries, search for term ngrams instead. This makes "v0.2" work properly again.

Test Plan: Searched for "v0.2", found a task with "v0.2" in the title.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18581
2017-09-08 09:47:58 -07:00
..
constraint Add an "only()" edge logic constraint, meaning "only the other constraints, exactly" 2017-09-06 12:16:06 -07:00
order Drive Maniphest grouping and ordering through standard infrastructure 2015-06-08 12:23:13 -07:00
policy When selecting Ferret ngrams, select term ngrams (not raw ngrams) for term search 2017-09-08 09:47:58 -07:00
PhabricatorEmptyQueryException.php Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
PhabricatorOffsetPagedQuery.php [Redesign] PHUIPagerView 2015-06-02 14:34:04 -07:00
PhabricatorQuery.php Extend from Phobject 2015-06-15 18:02:27 +10:00