SlideShare uma empresa Scribd logo
1 de 31
Optimizing
Solr performance and User
Experience for E-Commerce
15 April 2010
Slides posted at the end of this
Agenda                                                                          presentation; full replay
                                                                                    available within
                                                                               ~48 hours of live webcast
    Introductions
    Apache Lucene/Solr and eCommerce - Grant
         Lucene/Solr Powered Sales
         Common Scenarios
         Search Needs for eCommerce
    Use Case: Sheet Music Plus - Brian
         Leveraging Solr to sell Music online
         Gauging search success through timely metrics



                Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                                                               2
Introductions
    Grant Ingersoll
      Co-Founder of Lucid Imagination
      Lucene/Solr/Mahout committer




    Brian Doll
      Search Architect at Sheetmusicplus.com
      12+ years experience in eCommerce, finance, retail
      and media



                 Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                             3
A few Lucene/Solr-Powered Commerce Sites




         Buy.com



                                                                               4

               Lucid Imagination, Inc. – http://www.lucidimagination.com   4
eCommerce Scenarios
  Users can’t buy it if they can’t find it!
    Search/Discovery is often mission critical in eCommerce
    Users don’t know how to spell
    Users often don’t even know how to describe it
  Online stores typically look like:
    SKUs (products): 1K to 500K typically, but we have customers with
    10-50M+ SKUs in Solr
    High Volume Search: Millions of queries/day (peaks @ Xmas in US)
    Lots of Metadata with 1 or 2 text fields
    Many product names are “tricky”:
    GPSGolfPro, iPod, Tchaikovsky, Garmin nuvi 255w
                Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                            5
eCommerce Checklist for Search
     Keyword search
     High Quality relevance (precision @ < 10)
     Faceting/Discovery
     Flexible language analysis tools
       Stemming, protected words, case changes,
       alpha-numeric
     Multilingual support
     Frequent Incremental Updates
       Ratings, Reviews, New Products
     Best Bets
              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          6
eCommerce Checklist for Search, continued
   Auto-suggest
   Did you mean?
   Related Searches/Items
   Editorial Relevance Controls
     Sales, Margins, Inventory, Fixed results, Exclusions, Ratings
   Admin:
     Scalability, Fault Tolerance, Easy Setup and Config
   Recommendations (See Mahout)
   Analytics and other Business Tools

                Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                            7
eCommerce and Solr

     Most of the checklist comes out of the box with Apache Solr
     Primary missing piece: Analytics + high level business tools
       But one could argue that is a feature, not a bug!
       Many people already have their own reporting/analytics
       Often quite easy to hook in Solr/Lucene to those solutions




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          8
Solr E-Commerce Case Study: Sheetmusicplus.com

   Overview
     About Sheetmusicplus and our Solr infrastructure
     Onsite search: understanding the value
     Understanding your traffic, your search and your customers
     Setting search strategies
     Understanding Customer Value
     Q&A




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          9
About sheetmusicplus.com

       Largest selection of sheet music
       12 year old online business
       600k+ SKUs
       1.5M+ Songs
       Faceted navigation and on-site search with Solr:
        Up to 35 application requests per second this year/~3 million per day
        Up to 11 solr queries per second this year/~1 million per day
       Ruby on Rails app servers running on Passenger / Apache
       MySQL / Memcached / VMWare
       Lots of needles in a huge haystack
               Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                                 10
What’s the value of on-site search?

     Value of a new prospect
     Value of an existing customer
     eCommerce conversion rate of the search page
     Dollar value of the search page
     Dollar value of top search terms




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          11
Why Solr?

     Strategies:
     A set of patterns to match search operations with various
     subsets of use cases to optimize results for different users
     We love that the structure of your data is part of your Solr
     environment (schema.xml)
     And the way you query against that data is part of your app
     Solr provides an easy and flexible API that is easy to
     experiment with




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          12
Step 1




         Data                                                    Strategy



         Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                            13
Get to know your visitors




   on-site search terms are not as varied as we
                    had thought



            Lucid Imagination, Inc. – http://www.lucidimagination.com
Surprisingly, lots of people search like this:




     piano




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          15
Surprisingly, lots of people search like this:




     piano



   While others search like this:
    Piano

     The Clash London Calling Guitar Tablature Medium Difficulty



                 Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                             16
Understanding your data

     We have very diverse data
         Most product attributes are inconsistent
     We receive product information in 136 different formats
       Product title
       Contributor roles: Artist, Composer, Performer, Arranger, etc.
       Musical Genres, instrumentation, difficulty level, format
       Algorithmically applied facets based on all data elements
       Some items have scores of facets, some have only a few



              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          17
Analyzing your data

     How might we categorize all of our potential fields?
     What data elements might contain a person’s name?
     What elements might refer to a musical instrument?
     What do we do about unstructured publisher descriptions?


     How can you provide an effective search service
     with the data you have?




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          18
A “one size fits all” search strategy may not be ideal.

     piano




     The Clash London Calling Guitar Tablature Medium Difficulty



                 Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                             19
What if …

     … we applied a strategy pattern to our search queries?




             Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                         20
How we set up our search strategies

     Each strategy must answer the following:
       A unique name and description to help with analytics
       A hash of solr fields to search, containing:

        The copy field name
        The type of search (phrase or term searching)
        The boost value
        The slop value


       The default sort order of that particular strategy




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          21
Grouping your data

     There are significant performance benefits in
     minimizing the number of fields to search against
     Group the fields that share common traits and have a
     similar level of influence on your search results to boost
     performance
          Example:
          “Contributors” are all equally important to our visitors. Many
          searches include an artist name, but just as often those names
          are composers, arrangers or popular performers. We can
          create a single copy field that aggregates all of those fields
          into one searchable Solr field


              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                           22
Step 2




         Data                                                    Strategy



         Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                            23
Building a search strategy

      What (copy) fields do you search against?
      What boost is applied to each of those fields?
      What sort order do you default to?
      What other factors might you influence your results with?
        (We occasionally influence results with sales ranking data)




               Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                           24
Having more than one strategy is much easier
than trying to get it exactly right
It’ll be unique to your site
We have a classifier algorithm to help determine
which strategy we should apply to an incoming
search request




        Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                    25
Implementing these strategies provided an
86% increase in per-search value.


We can now fine-tune individual categories of
searches, as well as specific phrases.




     Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                 26
Expanding your portfolio of search strategies

      How are customers searching your data?
      What categories of searches might you need to address?
      Sheetmusicplus.com examples:
        Artist search {Pink Floyd, Haydn, Louis Armstrong}
        Instrument search {Guitar, ukulele, oboe}
        Genre search {Jazz, classical, standards}
        Title search {“I left my heart in San Fernando’s Hideaway”}
      Evaluate: How does this relate to metadata?


               Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                           27
Monitor and refine your strategies

      Use Google Analytics (or a similar tool) to understand
      what your users are searching for
      Deliver search strategies to help them find what they want
      Don't bother chasing obscure queries that
      don't generate revenue
      Focus on delivering customer value
      Win!




             Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                         28
Track customer value per strategy

     Use Google Analytics to track the value of your strategies
       Add a dummy URL parameter to each of your search results
       indicating which strategy was used during that search
                           /some/resulting/doc?s=4
       In Google Analytics, search your page views for ‘s=4’
        Graph of page views over time, eCommerce value per page, etc




              Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                          29
Summary

    Data --> Strategy
    Tuning your search algorithm is an endless game, and if
    you focus on pleasing customer X, it'll cost you.
    Don't try to please everybody. Please the people who
    make you money!




           Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                       30
Q&A
 Go to http://bit.ly/solr-ecom to download slides;
Full replay available within 48 hours of live webcast




        Lucid Imagination, Inc. – http://www.lucidimagination.com
                                                                    31

Mais conteúdo relacionado

Mais de Lucidworks (Archived)

Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search EngineChicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search EngineLucidworks (Archived)
 
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with SearchChicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with SearchLucidworks (Archived)
 
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache SolrMinneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache SolrLucidworks (Archived)
 
Minneapolis Solr Meetup - May 28, 2014: Target.com Search
Minneapolis Solr Meetup - May 28, 2014: Target.com SearchMinneapolis Solr Meetup - May 28, 2014: Target.com Search
Minneapolis Solr Meetup - May 28, 2014: Target.com SearchLucidworks (Archived)
 
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...Lucidworks (Archived)
 
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...
Unstructured   Or: How I Learned to Stop Worrying and Love the xml, Presented...Unstructured   Or: How I Learned to Stop Worrying and Love the xml, Presented...
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...Lucidworks (Archived)
 
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...Lucidworks (Archived)
 
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCBig Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCLucidworks (Archived)
 
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
What's New  in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DCWhat's New  in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DCLucidworks (Archived)
 
Solr At AOL, Presented by Sean Timm at SolrExchage DC
Solr At AOL, Presented by Sean Timm at SolrExchage DCSolr At AOL, Presented by Sean Timm at SolrExchage DC
Solr At AOL, Presented by Sean Timm at SolrExchage DCLucidworks (Archived)
 
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DCIntro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DCLucidworks (Archived)
 
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DCTest Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DCLucidworks (Archived)
 
Building a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLKBuilding a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLKLucidworks (Archived)
 
Introducing LucidWorks App for Splunk Enterprise webinar
Introducing LucidWorks App for Splunk Enterprise webinarIntroducing LucidWorks App for Splunk Enterprise webinar
Introducing LucidWorks App for Splunk Enterprise webinarLucidworks (Archived)
 
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks Lucidworks (Archived)
 
Seeley yonik solr performance key innovations
Seeley yonik   solr performance key innovationsSeeley yonik   solr performance key innovations
Seeley yonik solr performance key innovationsLucidworks (Archived)
 
Implementing Click-through Relevance Ranking in Solr and LucidWorks Enterprise
Implementing Click-through Relevance Ranking in Solr and LucidWorks EnterpriseImplementing Click-through Relevance Ranking in Solr and LucidWorks Enterprise
Implementing Click-through Relevance Ranking in Solr and LucidWorks EnterpriseLucidworks (Archived)
 
Building specialized industry applications using Solr, and migration from FAS...
Building specialized industry applications using Solr, and migration from FAS...Building specialized industry applications using Solr, and migration from FAS...
Building specialized industry applications using Solr, and migration from FAS...Lucidworks (Archived)
 

Mais de Lucidworks (Archived) (20)

Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search EngineChicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
 
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with SearchChicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
 
What's new in solr june 2014
What's new in solr june 2014What's new in solr june 2014
What's new in solr june 2014
 
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache SolrMinneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
 
Minneapolis Solr Meetup - May 28, 2014: Target.com Search
Minneapolis Solr Meetup - May 28, 2014: Target.com SearchMinneapolis Solr Meetup - May 28, 2014: Target.com Search
Minneapolis Solr Meetup - May 28, 2014: Target.com Search
 
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
 
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...
Unstructured   Or: How I Learned to Stop Worrying and Love the xml, Presented...Unstructured   Or: How I Learned to Stop Worrying and Love the xml, Presented...
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...
 
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
 
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCBig Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
 
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
What's New  in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DCWhat's New  in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
 
Solr At AOL, Presented by Sean Timm at SolrExchage DC
Solr At AOL, Presented by Sean Timm at SolrExchage DCSolr At AOL, Presented by Sean Timm at SolrExchage DC
Solr At AOL, Presented by Sean Timm at SolrExchage DC
 
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DCIntro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
 
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DCTest Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
 
Building a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLKBuilding a data driven search application with LucidWorks SiLK
Building a data driven search application with LucidWorks SiLK
 
Introducing LucidWorks App for Splunk Enterprise webinar
Introducing LucidWorks App for Splunk Enterprise webinarIntroducing LucidWorks App for Splunk Enterprise webinar
Introducing LucidWorks App for Splunk Enterprise webinar
 
Solr4 nosql search_server_2013
Solr4 nosql search_server_2013Solr4 nosql search_server_2013
Solr4 nosql search_server_2013
 
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks
Lucene/Solr Revolution 2013: Paul Doscher Opening Remarks
 
Seeley yonik solr performance key innovations
Seeley yonik   solr performance key innovationsSeeley yonik   solr performance key innovations
Seeley yonik solr performance key innovations
 
Implementing Click-through Relevance Ranking in Solr and LucidWorks Enterprise
Implementing Click-through Relevance Ranking in Solr and LucidWorks EnterpriseImplementing Click-through Relevance Ranking in Solr and LucidWorks Enterprise
Implementing Click-through Relevance Ranking in Solr and LucidWorks Enterprise
 
Building specialized industry applications using Solr, and migration from FAS...
Building specialized industry applications using Solr, and migration from FAS...Building specialized industry applications using Solr, and migration from FAS...
Building specialized industry applications using Solr, and migration from FAS...
 

Último

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Último (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Sign Up To View The On-Demand Webinar,Implementing Search Strategies with Solr For E-Commerce Sites

  • 1. Optimizing Solr performance and User Experience for E-Commerce 15 April 2010
  • 2. Slides posted at the end of this Agenda presentation; full replay available within ~48 hours of live webcast Introductions Apache Lucene/Solr and eCommerce - Grant Lucene/Solr Powered Sales Common Scenarios Search Needs for eCommerce Use Case: Sheet Music Plus - Brian Leveraging Solr to sell Music online Gauging search success through timely metrics Lucid Imagination, Inc. – http://www.lucidimagination.com 2
  • 3. Introductions Grant Ingersoll Co-Founder of Lucid Imagination Lucene/Solr/Mahout committer Brian Doll Search Architect at Sheetmusicplus.com 12+ years experience in eCommerce, finance, retail and media Lucid Imagination, Inc. – http://www.lucidimagination.com 3
  • 4. A few Lucene/Solr-Powered Commerce Sites Buy.com 4 Lucid Imagination, Inc. – http://www.lucidimagination.com 4
  • 5. eCommerce Scenarios Users can’t buy it if they can’t find it! Search/Discovery is often mission critical in eCommerce Users don’t know how to spell Users often don’t even know how to describe it Online stores typically look like: SKUs (products): 1K to 500K typically, but we have customers with 10-50M+ SKUs in Solr High Volume Search: Millions of queries/day (peaks @ Xmas in US) Lots of Metadata with 1 or 2 text fields Many product names are “tricky”: GPSGolfPro, iPod, Tchaikovsky, Garmin nuvi 255w Lucid Imagination, Inc. – http://www.lucidimagination.com 5
  • 6. eCommerce Checklist for Search Keyword search High Quality relevance (precision @ < 10) Faceting/Discovery Flexible language analysis tools Stemming, protected words, case changes, alpha-numeric Multilingual support Frequent Incremental Updates Ratings, Reviews, New Products Best Bets Lucid Imagination, Inc. – http://www.lucidimagination.com 6
  • 7. eCommerce Checklist for Search, continued Auto-suggest Did you mean? Related Searches/Items Editorial Relevance Controls Sales, Margins, Inventory, Fixed results, Exclusions, Ratings Admin: Scalability, Fault Tolerance, Easy Setup and Config Recommendations (See Mahout) Analytics and other Business Tools Lucid Imagination, Inc. – http://www.lucidimagination.com 7
  • 8. eCommerce and Solr Most of the checklist comes out of the box with Apache Solr Primary missing piece: Analytics + high level business tools But one could argue that is a feature, not a bug! Many people already have their own reporting/analytics Often quite easy to hook in Solr/Lucene to those solutions Lucid Imagination, Inc. – http://www.lucidimagination.com 8
  • 9. Solr E-Commerce Case Study: Sheetmusicplus.com Overview About Sheetmusicplus and our Solr infrastructure Onsite search: understanding the value Understanding your traffic, your search and your customers Setting search strategies Understanding Customer Value Q&A Lucid Imagination, Inc. – http://www.lucidimagination.com 9
  • 10. About sheetmusicplus.com Largest selection of sheet music 12 year old online business 600k+ SKUs 1.5M+ Songs Faceted navigation and on-site search with Solr:  Up to 35 application requests per second this year/~3 million per day  Up to 11 solr queries per second this year/~1 million per day Ruby on Rails app servers running on Passenger / Apache MySQL / Memcached / VMWare Lots of needles in a huge haystack Lucid Imagination, Inc. – http://www.lucidimagination.com 10
  • 11. What’s the value of on-site search? Value of a new prospect Value of an existing customer eCommerce conversion rate of the search page Dollar value of the search page Dollar value of top search terms Lucid Imagination, Inc. – http://www.lucidimagination.com 11
  • 12. Why Solr? Strategies: A set of patterns to match search operations with various subsets of use cases to optimize results for different users We love that the structure of your data is part of your Solr environment (schema.xml) And the way you query against that data is part of your app Solr provides an easy and flexible API that is easy to experiment with Lucid Imagination, Inc. – http://www.lucidimagination.com 12
  • 13. Step 1 Data Strategy Lucid Imagination, Inc. – http://www.lucidimagination.com 13
  • 14. Get to know your visitors on-site search terms are not as varied as we had thought Lucid Imagination, Inc. – http://www.lucidimagination.com
  • 15. Surprisingly, lots of people search like this: piano Lucid Imagination, Inc. – http://www.lucidimagination.com 15
  • 16. Surprisingly, lots of people search like this: piano While others search like this: Piano The Clash London Calling Guitar Tablature Medium Difficulty Lucid Imagination, Inc. – http://www.lucidimagination.com 16
  • 17. Understanding your data We have very diverse data Most product attributes are inconsistent We receive product information in 136 different formats Product title Contributor roles: Artist, Composer, Performer, Arranger, etc. Musical Genres, instrumentation, difficulty level, format Algorithmically applied facets based on all data elements Some items have scores of facets, some have only a few Lucid Imagination, Inc. – http://www.lucidimagination.com 17
  • 18. Analyzing your data How might we categorize all of our potential fields? What data elements might contain a person’s name? What elements might refer to a musical instrument? What do we do about unstructured publisher descriptions? How can you provide an effective search service with the data you have? Lucid Imagination, Inc. – http://www.lucidimagination.com 18
  • 19. A “one size fits all” search strategy may not be ideal. piano The Clash London Calling Guitar Tablature Medium Difficulty Lucid Imagination, Inc. – http://www.lucidimagination.com 19
  • 20. What if … … we applied a strategy pattern to our search queries? Lucid Imagination, Inc. – http://www.lucidimagination.com 20
  • 21. How we set up our search strategies Each strategy must answer the following: A unique name and description to help with analytics A hash of solr fields to search, containing:  The copy field name  The type of search (phrase or term searching)  The boost value  The slop value The default sort order of that particular strategy Lucid Imagination, Inc. – http://www.lucidimagination.com 21
  • 22. Grouping your data There are significant performance benefits in minimizing the number of fields to search against Group the fields that share common traits and have a similar level of influence on your search results to boost performance Example: “Contributors” are all equally important to our visitors. Many searches include an artist name, but just as often those names are composers, arrangers or popular performers. We can create a single copy field that aggregates all of those fields into one searchable Solr field Lucid Imagination, Inc. – http://www.lucidimagination.com 22
  • 23. Step 2 Data Strategy Lucid Imagination, Inc. – http://www.lucidimagination.com 23
  • 24. Building a search strategy What (copy) fields do you search against? What boost is applied to each of those fields? What sort order do you default to? What other factors might you influence your results with? (We occasionally influence results with sales ranking data) Lucid Imagination, Inc. – http://www.lucidimagination.com 24
  • 25. Having more than one strategy is much easier than trying to get it exactly right It’ll be unique to your site We have a classifier algorithm to help determine which strategy we should apply to an incoming search request Lucid Imagination, Inc. – http://www.lucidimagination.com 25
  • 26. Implementing these strategies provided an 86% increase in per-search value. We can now fine-tune individual categories of searches, as well as specific phrases. Lucid Imagination, Inc. – http://www.lucidimagination.com 26
  • 27. Expanding your portfolio of search strategies How are customers searching your data? What categories of searches might you need to address? Sheetmusicplus.com examples: Artist search {Pink Floyd, Haydn, Louis Armstrong} Instrument search {Guitar, ukulele, oboe} Genre search {Jazz, classical, standards} Title search {“I left my heart in San Fernando’s Hideaway”} Evaluate: How does this relate to metadata? Lucid Imagination, Inc. – http://www.lucidimagination.com 27
  • 28. Monitor and refine your strategies Use Google Analytics (or a similar tool) to understand what your users are searching for Deliver search strategies to help them find what they want Don't bother chasing obscure queries that don't generate revenue Focus on delivering customer value Win! Lucid Imagination, Inc. – http://www.lucidimagination.com 28
  • 29. Track customer value per strategy Use Google Analytics to track the value of your strategies Add a dummy URL parameter to each of your search results indicating which strategy was used during that search /some/resulting/doc?s=4 In Google Analytics, search your page views for ‘s=4’  Graph of page views over time, eCommerce value per page, etc Lucid Imagination, Inc. – http://www.lucidimagination.com 29
  • 30. Summary Data --> Strategy Tuning your search algorithm is an endless game, and if you focus on pleasing customer X, it'll cost you. Don't try to please everybody. Please the people who make you money! Lucid Imagination, Inc. – http://www.lucidimagination.com 30
  • 31. Q&A Go to http://bit.ly/solr-ecom to download slides; Full replay available within 48 hours of live webcast Lucid Imagination, Inc. – http://www.lucidimagination.com 31