Closed Bug 1877873 Opened 10 months ago Closed 10 months ago

Implement prefix-match on subject for Yelp

Categories

(Application Services :: Suggest, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: daisuke, Assigned: daisuke)

References

Details

(Whiteboard: [sng])

Currently, we suggest Yelp suggestion if the subject is exactly matched with the user's keyword. But, in this bug, will implement to suggest with prefix match in Yelp module.
https://github.com/mozilla/application-services/blob/main/components/suggest/src/yelp.rs

In the current spec candidate, the prefix-match will be enabled if the length of characters of the subject candidate is 6 or more.
For example, only "burgers" (plural) is registered in DB as a subject, then if the user inputs "best burger in tokyo" (single), complement "burger" with "burgers", then suggest "best burgers in tokyo".

Blocks: 1877920
Blocks: 1875963
No longer blocks: 1877920
OS: macOS → All
Hardware: x86_64 → All
Whiteboard: [sng]

The PR was merged so I'll close this, thanks Daisuke!

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.