duckduckgo / zeroclickinfo-spice

DuckDuckGo Instant Answers based on JavaScript (JSON) APIs
https://duckduckhack.com/
Other
548 stars 942 forks source link

Airlines: does not respond to lowercase flight code #2352

Closed peterakkies closed 8 years ago

peterakkies commented 8 years ago

Hi everyone,

My apologies is this is not the right way to bring up this issue.

I noticed that the DuckDuckGo flight information only responds to flight codes entered using uppercase letters, e.g. "AC824" but not "ac824". Is this intentional? I imagine many users would use the lowercase.

Regards,

Peter

IA Page: http://duck.co/ia/view/airlines

marianosimone commented 8 years ago

I'm not seeing this behaviour. Both https://duckduckgo.com/?q=ua+244 and https://duckduckgo.com/?q=UA+244 seem to work just fine, and neither AC824 nor ac824 find Air Canada flights.

I'm not sure I understand what's going on, but it seems like this IA was disabled https://github.com/duckduckgo/zeroclickinfo-spice/commit/ba91e55271c856a76ac621047805a184cf220e9a (but somehow it still works - presumably with some non open-sourced logic - for some cases)

MrChrisW commented 8 years ago

@peterakkies Closing this now as unable to reproduce, please re-open if you notice the issue again.

@marianosimone

I'm not sure I understand what's going on, but it seems like this IA was disabled ba91e55

This IA is triggered using "deep triggers" unfortunately this is not well documented. This means the IA is triggered using internal logic based on the returned search results.