search.suggest api doesn't work for kb documents

RESOLVED FIXED

Status

support.mozilla.org
Search
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: willkg, Assigned: mythmon)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: p=0 c=search u=api s=2015.1)

Recently we added an API end point to suggest kb articles and questions given a piece of text.

This url should bring up kb articles:

https://support.mozilla.org/api/2/search/suggest/?q=tab&max_questions=0

If you do a similar thing with the search page:

https://support.mozilla.org/en-US/search?q=tab&format=json

That brings up a bunch of kb articles.

This bug covers looking into why kb articles aren't returned as results via the search suggest api and fixing it.
(Assignee)

Comment 1

4 years ago
I'm pretty sure this is a tiny fix to a massive oversight. I'll have a PR in a moment.
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
(Assignee)

Comment 3

4 years ago
Landed: https://github.com/mozilla/kitsune/commit/a5b2491d4b2e9d512e2c840e63143a33c9229d5f

Deployed to prod.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Assignee)

Updated

4 years ago
Whiteboard: p=0 c=search u=api s=2015.1
You need to log in before you can comment on or make changes to this bug.