Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Algolia introduction - DEMO and Ranking Formula

Algolia introduction - DEMO and Ranking Formula

Presentation material at Global Engineers Meetup: Search Engineering by Mericari on June 20th, 2019.

Eiji Shinohara

June 20, 2019
Tweet

More Decks by Eiji Shinohara

Other Decks in Technology

Transcript

  1. Who am I? • Eiji Shinohara ◦ Twitter: @shinodogg ◦

    Blog: https://shinodogg.com ◦ 1st Japan-based employee at
  2. Who am I? • Eiji Shinohara ◦ Worked at Rakuten

    ▪ Learned English - Eigo Chotto Dekiru ▪ My Search engineering SENSEIs: Minoru san & Kazu san (now at Mercari) ◦ Worked at Amazon Web Services ▪ In charge of Japanese Startups ▪ Used to visit Mercari office (1st floor is MIZUHO Bank) years ago
  3. Our Investors $74M Funding Founded 2012 Employees 350+ Our Business

    Algolia in a nutshell 100 Countries Customers 7,000+ Search queries/mo 60B+
  4. 17 Regions 70+ Data centers Offices Infrastructure Regions 60B+ Searches/mo

    150B+ API calls/mo Global Availability across 17 regions worldwide
  5. Useful when We don’t know the type of data in

    advance Content is completely different from one document to the other No popularity taken into account TF-IDF Term Frequency Inv. Doc. Frequency
  6. Relevance in Algolia Structured Data Data that already exists in

    your Database You know this data (what is useful in it for search, what is not)
  7. Ranking Formula criteria 1. Typo 2. Geo (if applicable) 3.

    Words (if applicable) 4. Filters 5. Proximity 6. Attribute 7. Exact 8. Custom
  8. Ranking formula The Tie Breaking Algorithm Lego bricks example 3

    attributes or qualities : • Shape • Color • Studs
  9. Ranking formula The Tie Breaking Algorithm • Rank the set

    by applying a series of criteria • Eliminate ties, criterion per criterion • The order we apply criterion has a big impact on the final ranking of the whole set Goal
  10. Tie-breaking Algorithm • Color (Blue > Red > White) Ranking

    Formula A • Studs (less is best) • Shape ( > )
  11. Tie-breaking Algorithm • Shape ( > ) Ranking Formula B

    • Color (Blue > Red > White) • Studs (less is best)
  12. Tie-breaking Algorithm • Color (Blue > Red > White) •

    Shape ( > ) Ranking Formula A • Studs (less is best) • Shape ( > ) • Color (Blue > Red > White) Ranking Formula B • Studs (less is best)