Page MenuHomePhabricator

If the user gets zero results, but gets a "Did you mean" result, just run the query for the "Did you mean" result and inform the user that this happened
Closed, ResolvedPublic

Description

If a user gets zero results, but gets a "Did you mean" suggestion, they have to click on the "Did you mean" result to get anything. We should streamline that so that they don't need to click; we can just run the query for them with the "Did you mean" suggestion, and let them know that we did that.

Future opportunities for this include figuring out, using some heuristic, whether or not we should run "Did you mean" results for users *even if they have some results*, but that can come later.

Acceptance criteria:

  • If the user gets zero results, but they got a "Did you mean" result, run the "Did you mean" query instead
  • Is you run the "Did you mean" query, inform the user that you did this, and let them run the old one
  • If there is any advanced syntax in the query, then do NOT perform this automatic querying; this is so that advanced users who run advanced queries trying to get zero results intentionally can continue to do so
  • Stakeholder: Users who are searching who get zero results
  • Benefit: They'll get results without having to make an extra click
  • Estimate: To be added

Event Timeline

Deskana created this task.Jul 8 2015, 5:52 PM
Deskana updated the task description. (Show Details)
Deskana raised the priority of this task from to Normal.
Deskana added a subscriber: Deskana.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 8 2015, 5:52 PM
Deskana renamed this task from If the user gets zero results, but gets a "Did you mean" result, just run the query for the "Did you mean" result and inform the user to If the user gets zero results, but gets a "Did you mean" result, just run the query for the "Did you mean" result and inform the user that this happened.Jul 8 2015, 6:10 PM
Deskana set Security to None.
Deskana updated the task description. (Show Details)Jul 8 2015, 6:14 PM
Deskana added a project: User-notice.

Adding the User-notice tag. No estimated date for when this will go out into production, but want to inform people of this anyway.

Deskana updated the task description. (Show Details)Jul 8 2015, 11:07 PM

Change 223885 had a related patch set uploaded (by EBernhardson):
Auto-forward to search suggestion when zero results

https://gerrit.wikimedia.org/r/223885

Change 224502 had a related patch set uploaded (by EBernhardson):
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/224502

Change 224502 merged by jenkins-bot:
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/224502

Change 226590 had a related patch set uploaded (by EBernhardson):
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/226590

Change 226591 had a related patch set uploaded (by EBernhardson):
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/226591

Change 226590 merged by jenkins-bot:
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/226590

Change 226591 merged by jenkins-bot:
Log an executor id in ElasticsearchIntermediary

https://gerrit.wikimedia.org/r/226591

I have some doubts about whether this is a good idea.

Change 223885 merged by jenkins-bot:
Auto-forward to search suggestion when zero results

https://gerrit.wikimedia.org/r/223885

Change 227347 had a related patch set uploaded (by EBernhardson):
Auto-forward to search suggestion when zero results

https://gerrit.wikimedia.org/r/227347

I have some doubts about whether this is a good idea.

To me that looks more like a failure to provide a meaningful suggestion than a problem with this idea specifically. Let's get a Phabricator task filed for this.

Let's get a Phabricator task filed for this.

Done: T107088

Change 227347 merged by jenkins-bot:
Auto-forward to search suggestion when zero results

https://gerrit.wikimedia.org/r/227347

Bad idea. Even Google gets it wrong every time.

Deskana closed this task as Resolved.Aug 7 2015, 8:01 PM

Resolving this task, as this was deployed a while ago.

Bad idea. Even Google gets it wrong every time.

This comment is not helpful. What would be very helpful is if you could provide examples of issues that you've had using this feature, so we can take a look at those and reevaluate.

What would be very helpful is if you could provide examples of issues that you've had using this feature, so we can take a look at those and reevaluate.

The 'feature' is the issue.
I don't want to ever be overridden by a program, even if it thinks I'm wrong.

Change 237029 had a related patch set uploaded (by Florianschmidtwelzow):
Run suggested search query in wmf wikis

https://gerrit.wikimedia.org/r/237029

Change 237030 had a related patch set uploaded (by Florianschmidtwelzow):
Restore default value 0 for Autoforward search suggestions

https://gerrit.wikimedia.org/r/237030

Change 237030 abandoned by Florianschmidtwelzow:
Restore default value 0 for Autoforward search suggestions

Reason:
It seems, that this change will not be merged.

https://gerrit.wikimedia.org/r/237030

Change 237029 abandoned by Florianschmidtwelzow:
Run suggested search query in wmf wikis

Reason:
Dependency abandoned

https://gerrit.wikimedia.org/r/237029