Successfully reported this slideshow.
@pradeepbv<br />I work in the Y! Media team<br />
Yahoo! Search BOSS<br />
BOSS?<br />http//www.flickr.com/photos/jmorgan/4189271428/sizes/o/in/photostream/.jpg<br />
What is BOSS?<br />My shiny little search…<br />Build your<br />Own<br />Search<br />Service<br />http//www.flickr.com/pho...
Your search service…<br />http://developer.yahoo.com/search/boss/<br />
What does BOSS provide?<br />Search Data and Infrastructure <br />Extracted from Ra One poster - http://in.movies.yahoo.co...
What does BOSS provide?<br />Monetization<br />http//www.flickr.com/photos/imuttoo/1189793194/sizes/o/in/photostream/.jpg<...
What does BOSS provide?<br />Support and Tools<br />Yes Boss movie poster<br />
Restful XML and JSON API <br /><ul><li>Web
Image
Spelling
News
Search Ads</li></ul>What do I get?<br />http//www.flickr.com/photos/joeshlabotnik/419914250/sizes/o/in/photostream/.jpg<br />
Flexibility to Blend and Re-rank Results<br />Create your own look and feel<br />Change ranking<br />Mix it with other API...
Oauth based Autentication<br />http//www.flickr.com/photos/friarsbalsam/5736126308/sizes/o/in/photostream/.jpg<br />
What else do I get?<br /><ul><li>Web and Limited Web results
Image attributes </li></ul>      like height, width, etc<br /><ul><li>Time span filtering </li></ul>for News Search <br />...
Extended abstracts </li></ul>http//www.flickr.com/photos/acidpix/6021203584/sizes/o/in/photostream/.jpg<br />
How DO I hack with it?<br />
BOSS + YQL<br />Table Name: boss.search<br />e.g. select * from boss.search where ck=… and secret=… and q=‘iitd’<br />
And through the BOSS API<br /><ul><li>Getting multiple data sets
/ysearch/web,images,news?q=anna
/ysearch/web,images,news?web.q=anna&images.q=anna&news.q=lokpal
Searching through sites
A Simple Movie Search
/ysearch/web?q=“Dark Knight”&sites=movies.yahoo.com,netflix.com,imdb.com
AND/OR operators
/ysearch/web?q="stevejobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com
Important: Use Braces or quotes</li></li></ul><li>Unary Operators<br /><ul><li>Search for Batman but not “Dark Knight”
Prochain SlideShare
Chargement dans…5
×

BOSS HackU IITD

2 161 vues

Publié le

Publié dans : Technologie, Design
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

BOSS HackU IITD

  1. 1. @pradeepbv<br />I work in the Y! Media team<br />
  2. 2.
  3. 3. Yahoo! Search BOSS<br />
  4. 4. BOSS?<br />http//www.flickr.com/photos/jmorgan/4189271428/sizes/o/in/photostream/.jpg<br />
  5. 5. What is BOSS?<br />My shiny little search…<br />Build your<br />Own<br />Search<br />Service<br />http//www.flickr.com/photos/jmorgan/4189271428/sizes/o/in/photostream/.jpg<br />
  6. 6. Your search service…<br />http://developer.yahoo.com/search/boss/<br />
  7. 7. What does BOSS provide?<br />Search Data and Infrastructure <br />Extracted from Ra One poster - http://in.movies.yahoo.com<br />
  8. 8. What does BOSS provide?<br />Monetization<br />http//www.flickr.com/photos/imuttoo/1189793194/sizes/o/in/photostream/.jpg<br />
  9. 9. What does BOSS provide?<br />Support and Tools<br />Yes Boss movie poster<br />
  10. 10. Restful XML and JSON API <br /><ul><li>Web
  11. 11. Image
  12. 12. Spelling
  13. 13. News
  14. 14. Search Ads</li></ul>What do I get?<br />http//www.flickr.com/photos/joeshlabotnik/419914250/sizes/o/in/photostream/.jpg<br />
  15. 15. Flexibility to Blend and Re-rank Results<br />Create your own look and feel<br />Change ranking<br />Mix it with other API’s<br />What can I do on top?<br />http://www.flickr.com/photos/balajijegan/6242907231/in/photostream<br />
  16. 16. Oauth based Autentication<br />http//www.flickr.com/photos/friarsbalsam/5736126308/sizes/o/in/photostream/.jpg<br />
  17. 17. What else do I get?<br /><ul><li>Web and Limited Web results
  18. 18. Image attributes </li></ul> like height, width, etc<br /><ul><li>Time span filtering </li></ul>for News Search <br /><ul><li>Document type filtering
  19. 19. Extended abstracts </li></ul>http//www.flickr.com/photos/acidpix/6021203584/sizes/o/in/photostream/.jpg<br />
  20. 20. How DO I hack with it?<br />
  21. 21. BOSS + YQL<br />Table Name: boss.search<br />e.g. select * from boss.search where ck=… and secret=… and q=‘iitd’<br />
  22. 22. And through the BOSS API<br /><ul><li>Getting multiple data sets
  23. 23. /ysearch/web,images,news?q=anna
  24. 24. /ysearch/web,images,news?web.q=anna&images.q=anna&news.q=lokpal
  25. 25. Searching through sites
  26. 26. A Simple Movie Search
  27. 27. /ysearch/web?q=“Dark Knight”&sites=movies.yahoo.com,netflix.com,imdb.com
  28. 28. AND/OR operators
  29. 29. /ysearch/web?q="stevejobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com
  30. 30. Important: Use Braces or quotes</li></li></ul><li>Unary Operators<br /><ul><li>Search for Batman but not “Dark Knight”
  31. 31. q=(batman -“Dark Knight")
  32. 32. Find pages with “Heath Ledger” but not “Dark Knight”
  33. 33. q=+”heath ledger”–”Dark Knight”&sites=movies.yahoo.com
  34. 34. Force auto-spelling off
  35. 35. q=+”drk knight”</li></ul>AND OR<br />
  36. 36. Searching in body and in title<br /><ul><li>Searching for Dark Knight in the Title on Yahoo movies
  37. 37. q=reviews intitle:"dark knight"&sites=movies.yahoo.com
  38. 38. Searching for Dark Knight in the Title in Yahoo movies containing Christian Bale
  39. 39. q=reviews intitle:"dark knight" inbody:"christian bale"&sites=movies.yahoo.com</li></li></ul><li>Market and document specific Filters<br /><ul><li>Search for “Dark Knight” in India specific sites
  40. 40. q=“Dark Knight”&market=en-in
  41. 41. Search for “PDF’s containing “Dark Knight”
  42. 42. q=“Dark Knight”&type=pdf
  43. 43. Search for MS Office type (except PPT’s) containing “Dark Knight”
  44. 44. q=“Dark Knight”&type=msoffice,-ppt</li></li></ul><li>Output<br />
  45. 45. Image search parameters<br /><ul><li>Search for images that are not offensive
  46. 46. /ysearch/images?q=“san francisco”&filter=yes
  47. 47. Search for images that are wallpaper size
  48. 48. /ysearch/images?q=“san francisco”&dimensions=wallpaper
  49. 49. Search for a image at a certain refer URL
  50. 50. /ysearch/images?q=yahoo&refererurl=http://www.flickr.com</li></ul>Interesting Output Fields<br /><ul><li>format, file size, height, width, title, total result count</li></li></ul><li>News search parameters <br /><ul><li>Search news that is less than 7 days old
  51. 51. /ysearch/news?q=lokpal&age=7d
  52. 52. Search news that is between 20hrs and 2 days old
  53. 53. /ysearch/news?q=lokpal&age=20h2d
  54. 54. Re-rank news results by date
  55. 55. /ysearch/news?q=lokpal&ranking=true</li></ul>Interesting Output Fields<br /><ul><li> Source, Date, Source URL</li></li></ul><li>Example hacks<br />
  56. 56. Duckduckgo.com<br />
  57. 57. Interceder<br />
  58. 58. Inquisitor: Browser Extenstion (v1) <br />26<br />Hack: http://www.inquisitorx.com/firefox/index_en.php<br />
  59. 59. Ask-boss (v1)<br />Hack: http://ask-boss.appspot.com<br />Code: https://github.com/saurabhsahni/Hacks/tree/master/askBOSS<br />
  60. 60. webmeme.com<br />
  61. 61. More resources<br /><ul><li>Yahoo! BOSS: http://developer.yahoo.com/boss
  62. 62. BOSS Technical Documentation: http://developer.yahoo.com/search/boss/boss_api_guide/
  63. 63. YQL: http://developer.yahoo.com/yql
  64. 64. Fire Eagle: http://developer.yahoo.com/fireeagle/
  65. 65. Google App Engine: http: //appengine.google.com
  66. 66. Amazon Web Services: http://aws.amazon.com
  67. 67. oAuth: http://oauth.net/
  68. 68. Open Social: http://www.opensocial.org/
  69. 69. Open Data: http://theinfo.org
  70. 70. Alt Search Engines: http://www.altsearchengines.com/ </li></li></ul><li>Thank You!&happy hacking<br />

×