Page MenuHomePhabricator

When selecting Ferret ngrams, select term ngrams (not raw ngrams) for term search
ClosedPublic

Authored by epriestley on Sep 8 2017, 4:13 PM.
Tags
None
Referenced Files
F15574974: D18581.diff
Tue, May 6, 4:20 AM
F15573466: D18581.diff
Mon, May 5, 9:04 PM
F15562114: D18581.id44621.diff
Wed, Apr 30, 12:33 AM
F15546266: D18581.id44618.diff
Sat, Apr 26, 2:42 PM
F15542443: D18581.id.diff
Fri, Apr 25, 4:46 PM
F15538675: D18581.id44621.diff
Thu, Apr 24, 8:55 PM
F15537971: D18581.diff
Thu, Apr 24, 5:00 PM
F15526545: D18581.diff
Mon, Apr 21, 9:22 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable