Closed Bug 972039 Opened 12 years ago Closed 11 years ago

Boost on exact matches in all locales

Categories

(Marketplace Graveyard :: Search, enhancement, P2)

Avenir
x86
macOS
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: robhudson, Assigned: robhudson)

Details

(Whiteboard: [feature][better-search])

At the moment we're doing a term query for exact matches on name. We use the 'name_sort' field b/c it's there already and is the not_analyzed field for name. This doesn't allow us to boost on exact matches in other locales, however. We could do a multifield on the localized name fields. One for the analyzed field and one for non analyzed for term queries (and sorting?).
Priority: -- → P4
Whiteboard: [feature]
Severity: normal → enhancement
Priority: P4 → P2
Whiteboard: [feature] → [feature][better-search]
https://github.com/mozilla/zamboni/commit/3baf01c I'll add verification steps as soon as I verify the verification steps.
Assignee: nobody → robhudson.mozbugs
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
To verify: * Submit an app that has a moderately unique name in any locale that is not the default locale. Multiple word names are good. * Approve the app so it is public and included in search results. * Search for the exact name in the non-default locale and it should be the first result in search results, assuming it is a unique name and the terms don't have a high frequency amongst all the apps.
You need to log in before you can comment on or make changes to this bug.