News for hackers. Stuff that matters.
Re:Using external APIs to improve search by danielh on Tuesday January 25, 2011 @12:44PM (#2140009)
Thanks for that post, I didn't know Qwerly, that might come handy.

I wonder how DuckDuckGo decides which API to query. Gabriel, could you shed some light on this?

Re:Using external APIs to improve search by epi0Bauqu on Tuesday January 25, 2011 @12:47PM (#2140025)
Generally we have some kind of entity detection, be it a list or some regex or something more fuzzy. For example, check out the WolframAlpha stuff: http://weinbergalpha.com/
Re:Using external APIs to improve search by lionheart on Tuesday January 25, 2011 @01:02PM (#2140091)
That's great. What's your algorithm for deciding which zero-click info to display when there seem to be multiple options?

For example, I notice that http://duckduckgo.com/?q=fathers+day+2011 doesn't show a WolframAlpha result, but an Amazon result for me.

Re:Using external APIs to improve search by epi0Bauqu on Tuesday January 25, 2011 @01:04PM (#2140098)
There is a precedence list that can be tweaked per query, and Amazon is at the bottom, so that is a bug :). In some cases, multiple things are called and the first to answer gets the spot.

Edit: bug fixed.

Re:Using external APIs to improve search by danielh on Tuesday January 25, 2011 @01:00PM (#2140081)
Interesting, thanks!

One suggestion: I would move the note You can test regexp using DuckDuckGo further to the top. IMHO that's a killer feature!

Re:Using external APIs to improve search by epi0Bauqu on Tuesday January 25, 2011 @01:07PM (#2140110)
That page (http://duckduckgo.com/goodies.html) needs a lot of work, generally. I don't have the greatest UI ideas for it yet, but as you might imagine, different things interest different people.
Re:Using external APIs to improve search by maxniederhofer on Tuesday January 25, 2011 @05:24PM (#2141204)
If any HN users want to chat about integrating Qwerly, I'm the founder and available at [email protected]. API is here: http://dev.qwerly.com/.