SlideShare une entreprise Scribd logo
1  sur  48
Télécharger pour lire hors ligne
Build your Own Search Service




Fred Meng
Outlines
•    Search engines using BOSS
•    Big milestones for BOSS
•    What else can be built with BOSS
•    BOSS API
     –  What
     –  Why
     –  Features
•  How to use it
     –  BOSS API
     –  BOSS Mashup framework
Search engines using
middlespot - http://middlespot.com
hakia - http://hakia.com
hakia - http://hakia.com
hakia - http://hakia.com
Tartin3 - http://www.tartin3.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
askBoss - http://ask-boss.appspot.com
OneRiot - http://www.oneriot.com

                New ranking models
tweetnews - http://tweetnews.appspot.com

                New ranking models
TechCrunch - http://search.techcrunch.com
TechCrunch - http://search.techcrunch.com
Big Milestone for
Big Milestone for BOSS


  • 10 million queries per day in Dec 2009 = 300 million
  monthly queries
     source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a-
     milestone/


  • 1 billion monthly queries in May 2009
     source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a-
     milestone/
What else can be built with
Get the pic - http://www.getthepicsure.com
Get the pic - http://www.getthepicsure.com
Get the pic - http://www.getthepicsure.com
What can be built with the BOSS API?

    Client / Browser integrations
What can be built with the BOSS API?

            Client / Browser integrations
What can be built with the BOSS API?

            Client / Browser integrations
About   APIs
Reality of Search: Huge Barriers of Entry




 •  Three players (G-Y-M) dominate the market, giving
    users limited choice
 •  Becoming a serious Search principal requires a massive
    capital investment and access to top technical talent
Reality of Search: Huge Barriers of Entry




                   All crawled, ranked
                   and presented in a
                        single API
What?


•  Open up Yahoo!'s search infrastructure and enable
   third parties to build revolutionary search products.

•  Unrestricted!

•  http://developer.yahoo.com/search/boss



                   All crawled, ranked
                   and presented in a
                        single API
Opening Yahoo! Search Tech




             All crawled, ranked
             and presented in a
                  single API
Why?


•  Removes entry barriers
  –  massive capital investment

•  Asset to innovate
  –  New relevancy models
  –  New presentation styles


•  Boom the search market
  –  Fragment the market, foster more players, choices,
     competitions
BOSS API Features
•    Ability to re-rank results
•    Blend results/content sources
•    Ability to use any monetization platform
•    Present results in any way
•    No branding or attribution
•    Unlimited queries per day* <BOSS Usage Fees>
•    Access to multiple verticals (web search, image, news)
•    Spell checks, keyword suggestions (Key Terms)
•    40+ supported language and region pairs
•    SearchMonkey Structured Data, Delicious data
•    Page data from Site Explorer
•    Expanded Abstracts: 170 characters to 300!
•    Mashup Framework
How to use
Getting Started with BOSS

  1)  Info & Docs: http://developer.yahoo.com/boss

  2)  Register for an BOSS App ID (free)

  3)  Code samples: Javascript, PHP and Python
     http://www.saurabhsahni.com/boss-examples.zip


  4)  (optional) Join the BOSS Developer Group
     http://tech.groups.yahoo.com/group/ysearchboss/


  5)  Starting your hacks
API Structure

  The Basics:
  http://boss.yahooapis.com/ysearch/{vert}/v1/{query}?
     appid={BOSSappid}&format=xml

  •    {vert} = {web, news, images, spelling}
  •    {query} = {your search term}
  •    {appid} = required application id
  •    {format} = json is the default
API Structure

  Optional Parameters:
  http://boss.yahooapis.com/ysearch/{vert}/v1/{query}?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    lang = {value} : 40+ languages
  •    count = {value} : number of results request
  •    start = {value} : first result requested
  •    sites = {value} : site restricts
  •    view=keyterms : related words/phrases for each result
  •    view = searchmonkey_rdf : SearchMonkey structured data
  •    view = delicious_toptags : most common public tags
  •    view = delicious_saves : # of delicious saves
  •    filter = porn / hate : filter out porn or hate-related content
  •    type = {value} : document format (e.g. word, pdf, etc)
  •    abstract = long : increases abstract length to 300 words
BOSS API: Web XML Response

  http://boss.yahooapis.com/ysearch/web/v1/iphone?appid=…
      &format=xml&lang=tzh&region=tw
BOSS API: Find related keywords

  http://boss.yahooapis.com/ysearch/web/v1/ ?appid=…
      &format=xml&lang=tzh&region=tw&age=1d-7d&view=keyterms
API Structure: Images

  Optional Parameters for Images:
  http://boss.yahooapis.com/ysearch/images/v1/iphone?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    dimensions = {value}: all (default), small, medium, large, wallpaper,
       widewallpaper
  •    refererurl = {value}: URL, no default. Search for this URL. Depending on
       other query restrictions, returns all image objects with this referring URL.
  •    url = {value}: URL, no default. Search for this URL. Returns this exact image
       result.
BOSS API: Images XML Response

  http://boss.yahooapis.com/ysearch/images/v1/iphone?appid=…
      &format=xml&dimensions=small
API Structure: News

  Optional Parameters for News:
  http://boss.yahooapis.com/ysearch/news/v1/ ?
      appid={BOSSappid}&format=xml&optionalparameter={value}

  •    age = {value}: 7d is the default. (30d, 1w, 12h, 5d-10d, 2w-30d)
  •    orderby = {value}: relevance is the default. (add orderby=date to sort by
       date)
BOSS API: News XML Response

  http://boss.yahooapis.com/ysearch/news/v1/ ?appid=…
      &format=xml&lang=tzh&region=tw&age=1d-7d
BOSS API: Spell Check

  http://boss.yahooapis.com/ysearch/spelling/v1/taipai?appid=…
      &format=xml
BOSS Mashup framework

  An experimental Python library which
   provides SQL-like functions for mashing
   up the BOSS API with third-party data
   sources.



  http://developer.yahoo.com/search/boss/
    mashup.html
BOSS Mashup framework

  Simple code example:
BOSS Mashup framework

  Output:
BMF+GAE

  Enhanced version of BOSS Mashup
   Framework to Google App Engine:

   http://zooie.wordpress.com/2008/08/04/yahoo-boss-
   google-app-engine-integrated/




  Enables quick deployment of BOSS
   applications online
Thanks




         Questions / Feedback?

Contenu connexe

Similaire à Build your Own Search Service with BOSS API

BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreSaurabh Sahni
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012discoversudhir
 
BOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadBOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadSaurabh Sahni
 
Yahoo BOSS Presentation London Open Hack Day Talk Boss
Yahoo BOSS Presentation London Open Hack Day Talk   BossYahoo BOSS Presentation London Open Hack Day Talk   Boss
Yahoo BOSS Presentation London Open Hack Day Talk BossKorben00
 
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...State of Search Conference
 
Yahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestYahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestTed Drake
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalRahul Hampole
 
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Paul Shapiro
 
Hack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonHack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonTed Drake
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategyadlift
 
Technical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersTechnical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersHenry Visotski
 
Yahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and LondonYahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and Londongraham_mudd
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012discoversudhir
 
Creating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APICreating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APIKirsten Hunter
 
Yahoo! Search BOSS
Yahoo! Search BOSSYahoo! Search BOSS
Yahoo! Search BOSSPraveen P N
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxBlockchainizator
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine OptimizationSD Sharma
 
Jeremy cabral search marketing summit - scraping data-driven content (1)
Jeremy cabral   search marketing summit - scraping data-driven content (1)Jeremy cabral   search marketing summit - scraping data-driven content (1)
Jeremy cabral search marketing summit - scraping data-driven content (1)Jeremy Cabral
 

Similaire à Build your Own Search Service with BOSS API (20)

BOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT BangaloreBOSS: Yahoo HackU IIIT Bangalore
BOSS: Yahoo HackU IIIT Bangalore
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012
 
BOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT HyderabadBOSS: Yahoo HackU IIIT Hyderabad
BOSS: Yahoo HackU IIIT Hyderabad
 
Yahoo BOSS Presentation London Open Hack Day Talk Boss
Yahoo BOSS Presentation London Open Hack Day Talk   BossYahoo BOSS Presentation London Open Hack Day Talk   Boss
Yahoo BOSS Presentation London Open Hack Day Talk Boss
 
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
Working Smarter: SEO Automation to Increase Efficiency and Effectiveness - Pa...
 
Yahoo! BOSS in Bucharest
Yahoo! BOSS in BucharestYahoo! BOSS in Bucharest
Yahoo! BOSS in Bucharest
 
Open hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-finalOpen hack 2011-ppt-draft-final
Open hack 2011-ppt-draft-final
 
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
MnSearch Summit 2018 - Paul Shapiro – Start Building SEO Efficiencies with Au...
 
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
Start Building SEO Efficiencies with Automation - MNSearch Summit 2018
 
Hack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - LondonHack the BOSS at Open Hack Day - London
Hack the BOSS at Open Hack Day - London
 
Global Search Strategy
Global Search StrategyGlobal Search Strategy
Global Search Strategy
 
Technical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and WebmastersTechnical SEO for WordPress Developers, Designers and Webmasters
Technical SEO for WordPress Developers, Designers and Webmasters
 
Yahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and LondonYahoo! Search BOSS Hack Days in Paris and London
Yahoo! Search BOSS Hack Days in Paris and London
 
Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012Boss hack u-iit-madras-2012
Boss hack u-iit-madras-2012
 
Creating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn APICreating Professional Applications with the LinkedIn API
Creating Professional Applications with the LinkedIn API
 
Digital Marketing Mumbai
Digital Marketing MumbaiDigital Marketing Mumbai
Digital Marketing Mumbai
 
Yahoo! Search BOSS
Yahoo! Search BOSSYahoo! Search BOSS
Yahoo! Search BOSS
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
 
Jeremy cabral search marketing summit - scraping data-driven content (1)
Jeremy cabral   search marketing summit - scraping data-driven content (1)Jeremy cabral   search marketing summit - scraping data-driven content (1)
Jeremy cabral search marketing summit - scraping data-driven content (1)
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 

Build your Own Search Service with BOSS API

  • 1. Build your Own Search Service Fred Meng
  • 2. Outlines •  Search engines using BOSS •  Big milestones for BOSS •  What else can be built with BOSS •  BOSS API –  What –  Why –  Features •  How to use it –  BOSS API –  BOSS Mashup framework
  • 13. OneRiot - http://www.oneriot.com New ranking models
  • 18. Big Milestone for BOSS • 10 million queries per day in Dec 2009 = 300 million monthly queries source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a- milestone/ • 1 billion monthly queries in May 2009 source: http://www.ysearchblog.com/2008/12/08/boss-reaches-a- milestone/
  • 19. What else can be built with
  • 20. Get the pic - http://www.getthepicsure.com
  • 21. Get the pic - http://www.getthepicsure.com
  • 22. Get the pic - http://www.getthepicsure.com
  • 23. What can be built with the BOSS API? Client / Browser integrations
  • 24. What can be built with the BOSS API? Client / Browser integrations
  • 25. What can be built with the BOSS API? Client / Browser integrations
  • 26. About APIs
  • 27. Reality of Search: Huge Barriers of Entry •  Three players (G-Y-M) dominate the market, giving users limited choice •  Becoming a serious Search principal requires a massive capital investment and access to top technical talent
  • 28. Reality of Search: Huge Barriers of Entry All crawled, ranked and presented in a single API
  • 29. What? •  Open up Yahoo!'s search infrastructure and enable third parties to build revolutionary search products. •  Unrestricted! •  http://developer.yahoo.com/search/boss All crawled, ranked and presented in a single API
  • 30. Opening Yahoo! Search Tech All crawled, ranked and presented in a single API
  • 31. Why? •  Removes entry barriers –  massive capital investment •  Asset to innovate –  New relevancy models –  New presentation styles •  Boom the search market –  Fragment the market, foster more players, choices, competitions
  • 32. BOSS API Features •  Ability to re-rank results •  Blend results/content sources •  Ability to use any monetization platform •  Present results in any way •  No branding or attribution •  Unlimited queries per day* <BOSS Usage Fees> •  Access to multiple verticals (web search, image, news) •  Spell checks, keyword suggestions (Key Terms) •  40+ supported language and region pairs •  SearchMonkey Structured Data, Delicious data •  Page data from Site Explorer •  Expanded Abstracts: 170 characters to 300! •  Mashup Framework
  • 34. Getting Started with BOSS 1)  Info & Docs: http://developer.yahoo.com/boss 2)  Register for an BOSS App ID (free) 3)  Code samples: Javascript, PHP and Python http://www.saurabhsahni.com/boss-examples.zip 4)  (optional) Join the BOSS Developer Group http://tech.groups.yahoo.com/group/ysearchboss/ 5)  Starting your hacks
  • 35. API Structure The Basics: http://boss.yahooapis.com/ysearch/{vert}/v1/{query}? appid={BOSSappid}&format=xml •  {vert} = {web, news, images, spelling} •  {query} = {your search term} •  {appid} = required application id •  {format} = json is the default
  • 36. API Structure Optional Parameters: http://boss.yahooapis.com/ysearch/{vert}/v1/{query}? appid={BOSSappid}&format=xml&optionalparameter={value} •  lang = {value} : 40+ languages •  count = {value} : number of results request •  start = {value} : first result requested •  sites = {value} : site restricts •  view=keyterms : related words/phrases for each result •  view = searchmonkey_rdf : SearchMonkey structured data •  view = delicious_toptags : most common public tags •  view = delicious_saves : # of delicious saves •  filter = porn / hate : filter out porn or hate-related content •  type = {value} : document format (e.g. word, pdf, etc) •  abstract = long : increases abstract length to 300 words
  • 37. BOSS API: Web XML Response http://boss.yahooapis.com/ysearch/web/v1/iphone?appid=… &format=xml&lang=tzh&region=tw
  • 38. BOSS API: Find related keywords http://boss.yahooapis.com/ysearch/web/v1/ ?appid=… &format=xml&lang=tzh&region=tw&age=1d-7d&view=keyterms
  • 39. API Structure: Images Optional Parameters for Images: http://boss.yahooapis.com/ysearch/images/v1/iphone? appid={BOSSappid}&format=xml&optionalparameter={value} •  dimensions = {value}: all (default), small, medium, large, wallpaper, widewallpaper •  refererurl = {value}: URL, no default. Search for this URL. Depending on other query restrictions, returns all image objects with this referring URL. •  url = {value}: URL, no default. Search for this URL. Returns this exact image result.
  • 40. BOSS API: Images XML Response http://boss.yahooapis.com/ysearch/images/v1/iphone?appid=… &format=xml&dimensions=small
  • 41. API Structure: News Optional Parameters for News: http://boss.yahooapis.com/ysearch/news/v1/ ? appid={BOSSappid}&format=xml&optionalparameter={value} •  age = {value}: 7d is the default. (30d, 1w, 12h, 5d-10d, 2w-30d) •  orderby = {value}: relevance is the default. (add orderby=date to sort by date)
  • 42. BOSS API: News XML Response http://boss.yahooapis.com/ysearch/news/v1/ ?appid=… &format=xml&lang=tzh&region=tw&age=1d-7d
  • 43. BOSS API: Spell Check http://boss.yahooapis.com/ysearch/spelling/v1/taipai?appid=… &format=xml
  • 44. BOSS Mashup framework An experimental Python library which provides SQL-like functions for mashing up the BOSS API with third-party data sources. http://developer.yahoo.com/search/boss/ mashup.html
  • 45. BOSS Mashup framework Simple code example:
  • 47. BMF+GAE Enhanced version of BOSS Mashup Framework to Google App Engine: http://zooie.wordpress.com/2008/08/04/yahoo-boss- google-app-engine-integrated/ Enables quick deployment of BOSS applications online
  • 48. Thanks Questions / Feedback?