smart autocomple
play

smart autocomple you complete me Anne Veling June 5th, 2012 - PowerPoint PPT Presentation

smart autocomple you complete me Anne Veling June 5th, 2012 Berlin Buzzwords @anneveling agenda 9292.nl Public Transport Site Naive Address Autocompletion Field Inspection Semantic Autocompletion Conclusions 9292.NL Largest


  1. smart autocomple… you complete me Anne Veling – June 5th, 2012 – Berlin Buzzwords @anneveling

  2. agenda 9292.nl Public Transport Site Naive Address Autocompletion Field Inspection Semantic Autocompletion Conclusions

  3. 9292.NL Largest public transport site of The Netherlands 1M travel advices per day! Complete new site by Q42 Linking to existing routing engine Moving from multiple input boxes to one Mobile applications for Windows, iPhone, Android

  4. data 10M points Train and metro stations Bus stops Places of Interest Streets Street ranges Addresses Highly ambiguous Streets / city names / POI Spelling mistakes No single order

  5. Naive implementation One concatenated field in Lucene Tune tokenizer/analyzer Tune query analyzer Tune weights Syntax Only

  6. 100% 80% quality effort

  7. Field inspection Taking advantage of Number of fields Speed of Lucene Query Analysis For each term, query in all fields Does it appear in that field? Count > 0? Use that information to do semantic interpretation

  8. etten leur zeil ☑ ☑ ☒ city? ☑ ☑ ☒ station? ☑ ☑ ☑ bus stop? ☑ ☑ ☑ street? street:zeil city:etten-leur

  9. results Implemented in Scala Lucene RequestHandler in Solr Ajax front-end

  10. tuning Iterative Tuning Using real user inputs from production log files Regression Testing to track index/algorithm changes over time For how many test queries is the expected result ● The top result? In the top 5? ●

  11. conclusions Very positive feedback Iterative tuning based on actual user input from log files Regression test Lucene is fast Entire type-ahead still within 40ms But: partner currently evaluating naive-only approach sometimes good enough is good enough Field Inspection will allow high quality selection With fallback to naive syntactic search

  12. Thank you @ anneveling

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend