Closed zekiel closed 10 years ago
Looks to be fixed for now: https://duckduckgo.com/?q=chic+fil+a+coupons
The larger issue is ensuring relevancy for queries with many short words. In this case DDG.isRelevant()
is probably throwing out "fil" and "a" as irrelevant, and so its making sure coupons have the word "chic" in them.
In these cases we need to calculate the average word length and use that to boost the importance of shorter words.
Portion of this might need to be completed internally if DDG.isRelevant()
needs to be modified.
This refers to the old Spice API. This is a duplicate of https://github.com/duckduckgo/zeroclickinfo-spice/issues/896
https://duckduckgo.com/?q=chic+fil+a+coupons
"chic fil a coupons" improperly displays coupons containing the word, "chic"