Page MenuHomePhabricator

Contradictory search suggestions when using "Did you mean"
Closed, DuplicatePublic


I searched for the article "gound plane" on English Wikipedia. Note the misspelling. The search page says, "Did you mean: gould plant". However, clicking on "gound plane" at the end of the phrase results in the dropdown suggestion "Ground plane". I suggest making the better search suggestion appear also, or instead of, the "gould plant" suggestion.

The impression I get from this situation is that there is a different algorithm that produces the "gould plant" suggestion from the "ground plane" suggestion, so perhaps one suggestion algorithm should be replaced with the other.

Event Timeline

Pine created this task.Sep 19 2016, 11:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2016, 11:38 PM
Pine updated the task description. (Show Details)Sep 19 2016, 11:39 PM
Aklapper renamed this task from Inconsistent search suggestions to Contradictory search suggestions when using "Did you mean".Sep 20 2016, 1:13 PM
Aklapper added a project: CirrusSearch.

Associating CirrusSearch to allow others to find this task when searching in the corresponding project.

Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptSep 20 2016, 1:13 PM

Yes this is a problem we identified, the completion suggester (responsible for autocomplete queries and the dropdown menu you are talking about) is able to detect a typo even in the 2nd character of the word while the algorithm responsible for the did you mean suggestion can only identify typos starting from the 3rd character.
This is inconsistent and we are trying to fix this problem by making the "did you mean" algorithm able to catch typos anywhere in the word.
The problem we have today is that we are not sure yet that this new technique is worth the effort, will it increase the number of false positives and make the "did you mean" suggestions even more annoying than what we serve today?

If you are curious to see how it would look like we have a test index available here:

Note that the autocomplete suggestions are disabled on this test index.