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
Unknown Object (File)
Thu, Jul 18, 9:21 PM
Unknown Object (File)
Wed, Jul 10, 5:12 AM
Unknown Object (File)
Fri, Jun 28, 5:36 PM
Unknown Object (File)
Thu, Jun 27, 3:30 PM
Unknown Object (File)
Tue, Jun 25, 2:20 PM
Unknown Object (File)
Jun 23 2024, 1:24 PM
Unknown Object (File)
Jun 22 2024, 11:08 PM
Unknown Object (File)
Jun 19 2024, 8:34 AM
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