Closed Bug 1121627 Opened 9 years ago Closed 9 years ago

search.suggest api doesn't work for kb documents

Categories

(support.mozilla.org :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: mythmon)

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.
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
Landed: https://github.com/mozilla/kitsune/commit/a5b2491d4b2e9d512e2c840e63143a33c9229d5f

Deployed to prod.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
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.