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
F15379015: D18581.diff
Thu, Mar 13, 6:11 PM
F15333192: D18581.id44618.diff
Sat, Mar 8, 12:37 AM
Unknown Object (File)
Thu, Feb 27, 8:53 AM
Unknown Object (File)
Wed, Feb 26, 2:00 AM
Unknown Object (File)
Tue, Feb 25, 8:32 PM
Unknown Object (File)
Mon, Feb 24, 4:03 PM
Unknown Object (File)
Feb 10 2025, 10:04 AM
Unknown Object (File)
Feb 7 2025, 9:56 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
Branch
ferret32
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18399
Build 24774: Run Core Tests
Build 24773: arc lint + arc unit