Closed Bug 839041 Opened 13 years ago Closed 13 years ago

Show generic top 20 articles list in case there are zero search results

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013Q1

People

(Reporter: atopal, Assigned: rrosario)

Details

(Whiteboard: u=user c=wiki p=2 s=2013.5)

Currently when you search for a term that we have not indexed, we tell you that there are zero results. Since the chances are good that you had a typo in your search query, it would be good to show you something more helpful, like the top 20 most visited articles. This list can be formatted just like normal search results. On top it should have the following: We couldn't find any results for <search term>. Maybe one of these articles will be helpful?
Do we know what the "top 20 most visited articles" are? I think if we can figure that out (or a list determined some other way), then I think this is pretty straightforward. There's a point in the search view where we get the results from ES. At that point, we can see if we have 0 and if so, substitute it for a different list. Then we make sure to add a flag that denotes we had 0 results and should show the text in the template. We should be careful about the case where the request asks for JSON. I think in that case, we should leave the 0 results as is. I'm estimating this as a 2 pointer.
Whiteboard: u=user c=wiki p= s=2013.4 → u=user c=wiki p=2 s=2013.4
Failing to next sprint since 2013.4 is full.
Whiteboard: u=user c=wiki p=2 s=2013.4 → u=user c=wiki p=2 s=2013.5
(In reply to Will Kahn-Greene [:willkg] from comment #1) > Do we know what the "top 20 most visited articles" are? Yes, we are getting that from our stat provider, now GA. We use that data on the KB dashboard already.
Assignee: nobody → rrosario
I'm going to go with the Top 20 article by votes, since that is what we use for the IA and it's already indexed in ES for quick access.
Deployed to prod now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.