rework opensearch_suggestions view to use the simple search search logic

RESOLVED FIXED

Status

support.mozilla.org
Code Quality
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

When fixing issues with bug #1211961, I noticed that it has a different search code than all the other search-related views on the site. Since it's in a different place, it never gets updated as we change other search-related views even though it should.

For example, right now if it does a search for "status", it gets back templates. It should be more like simple search.

This bug covers figuring out what to do with that. Should we centralize all the search-related code into one place and then pass it arguments, then change the search-related views to use this thing? Other options?
Grabbing this to do since it impacts the elasticsearch overhaul I'm doing.

In a PR: https://github.com/mozilla/kitsune/pull/2672
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Making this block the elasticsearch overhaul bug since this cleanup will help that significantly.
Blocks: 1191939
Deployed to prod.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.