SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
SOLR, THE INTELLIGENT SEARCH ENGINE
Benoît Largeau




AGENDA:
Stakes | Introduction | Indexing | Scalability | Searching | Admin tools | Conclusion
WHAT ARE THE STAKES?

INTERNAL SEARCH ENGINE IS ESSENTIAL.

Considering:

-   One user on two is a searcher
    one on two will use the internal search engine


-   This searcher population transform more often than other visitors

-   Less patient to browse
    need to find quickly otherwise they leave to another shop




     SEARCH                     FIND                    ADD TO CART   PAY
INTRODUCTION TO SOLR.

SOLR PROJECT.

•   Open source enterprise search server
    Initiated by CNET in 2004
    Openly published the source code in 2006


•                      the underlying engine

•   Independent server using standards to communicate
    such as HTTP / XML / JSON
    usable on every web project
    such as those based on Magento
INTRODUCTION TO SOLR.

SOME REFERENCES.




 More references here: http://wiki.apache.org/solr/PublicServers
INTRODUCTION TO SOLR.

FEATURES OFFERED BY SOLR.



   Indexing data                                 Scalability
   - Index the whole site (including files, …)
   - Tolerance (stemmings, synonyms, …)




   Searching data                                Admin tools
   - Layered navigation                          Display more statistics
   - Customizable relevance calculation          (most frequent requests
   - Predictive search (different kinds)         or search with no answer)
   - Stemming, Plurals, Synonyms,
     Stop words, …
INDEXING DATA.

FEATURES OFFERED BY SOLR.



   Indexing data
   - Index the whole site (including files, …)
   - Tolerance (stemmings, synonyms, …)
INDEXING DATA.

SCHEMA & TEXT ANALYSIS.

Schema

   Define how to handle structured data
    sent by Magento (no crawler such as Nutch)
   Typing data
    price & weight are floats, product name is a string, …
       o Structured data in Solr allows faceted search
           to filter by price range for example
   Determined by the intended search behavior
    if we need to filter per price range
    -> prices have to be stored as floats and not strings to stay comparable


Text analysis
    Text splitted in terms which are processed to calculate stemming, define synonyms, …
INDEXING DATA.
INDEXING DATA.

INDEXING FILES.

 Generally indexing structured data
   e.g. products


 Able to index binary formats
   such as PDF, MS Office, images or music files


 Using an interface Solr Cell
  which is an adapter to Apache Tika

 Apache Tika is a toolkit to detect and
  extract metadata and text content from various documents
SCALABILITY.

FEATURES OFFERED BY SOLR.



                            Scalability
SCALABILITY.

DURABLE SOLUTION.

Suitably efficient and practical
when applied to large situations


With a bigger data index or more visitors
searches are slower!
Testing Solr performance with SolrMeter

Solutions to keep good performances with more data:
1. Scale up: Optimizing a single Solr server
2. Scale horizontally: Moving to multiple Solr Servers with replications
3. Scale deep: Combining replication and sharding (for distributed search)
SEARCHING DATA.

FEATURES OFFERED BY SOLR.




   Searching data
   - Layered navigation
   - Customizable relevance calculation
   - Predictive search (different kinds)
   - Stemming, Plurals, Synonyms,
     Stop words, …
SEARCHING DATA.
SEARCHING DATA.

SEARCH RELEVANCY.

Factors influencing score:

1. Term frequency
2. Inverse document frequency
   the rarer a term is in the whole index, the higher its score is.
3. Co-ordination factor
   the greater the number of query clauses that match a document.
4. Field length
   the shorter the matching field is, the greater the matching document‘s score is.
5. Boosting
   customized mathematical rules to increase score.


   In Magento, based on attribute weights
   E.g. name 5 -> manufacturer 4 -> sku 3 -> price 2 -> meta_keywords 1
ADMIN TOOLS.

FEATURES OFFERED BY SOLR.




                            Admin tools
                            Display more statistics
                            (most frequent requests
                            or search with no answer)
ADMIN TOOLS.

ADMIN FEATURES.

1) Available admin tool in solr but oriented developper
   To check schema, index, general config, Solr server availability, to view
   technical statistics…

2) Prefer to use Magento backend
   To check frequent request or no answer request
   Very helpful to analyse user expectations then to improve the catalog
CONCLUSION.

INTEGRATE SOLR IN YOUR PROJECT.

Steps:

1. Install and configure Solr
   single or multiple servers
   single or multiple languages, …

2. Adapt the standard Magento product schema
   to your project context

3. Define additional customized data to index
   such as other tables, files, …

4. Influence search relevance
   defining attribute weights

5. Integrate in Magento frontend
CONCLUSION.

COMPARISONS.

Features                                      Magento    Magento
                                              Basic SE   with Solr
Product indexing                                 ▲           ▲
Document indexing                                            ▲
Synonyms                                         ▲           ▲
Stemming                                                     ▲
Stop words                                                   ▲
Faceted search                                   ▲           ▲
Relevance calculation                            ▲           ▲
Customizable relevance calculation                           ▲
Scalability                                                  ▲
Predictive search                                            ▲
Admin tools (frequent requests, no answer…)      ▲           ▲
No extra time needed to integrate                ▲
CONCLUSION.

Remember: 1 user on 2 is a searcher!


                   SOLR
                   clearly improves
                   User experience
                   which increases your
                   Transformation Rate
CUSTOMER RELATIONSHIP MANAGEMENT
ELECTRONIC COMMERCE
ONLINE MARKETING




CS2 AG
PLATINUM MEMBER TYPO3 ASSOCIATION
MAGENTO GOLD PARTNER
SUGAR SILVER PARTNER

Gerbegässlein 1 | CH-4450 Sissach
Feldeggstrasse 55 | CH-8008 Zürich
Telefon: +41 61 333 22 22
Twitter: @CS2switzerland
www.CS2.ch

Mais conteúdo relacionado

Semelhante a Solr the intelligent search engine

Mesh Labs Introduction June 2012
Mesh Labs Introduction June 2012Mesh Labs Introduction June 2012
Mesh Labs Introduction June 2012Umesh Ramalingachar
 
Sumo Logic Quick Start - Feb 2016
Sumo Logic Quick Start - Feb 2016Sumo Logic Quick Start - Feb 2016
Sumo Logic Quick Start - Feb 2016Sumo Logic
 
Introduction to enterprise search
Introduction to enterprise searchIntroduction to enterprise search
Introduction to enterprise searchUsama Nada
 
II-SDV 2017: Gridlogics Technologies
II-SDV 2017: Gridlogics TechnologiesII-SDV 2017: Gridlogics Technologies
II-SDV 2017: Gridlogics TechnologiesDr. Haxel Consult
 
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...Karen Thompson
 
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...Denodo
 
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...Denodo
 
Introduction to Anzo Unstructured
Introduction to Anzo UnstructuredIntroduction to Anzo Unstructured
Introduction to Anzo UnstructuredCambridge Semantics
 
FAIR Data-centric Information Architecture.pptx
FAIR Data-centric Information Architecture.pptxFAIR Data-centric Information Architecture.pptx
FAIR Data-centric Information Architecture.pptxBen Gardner
 
PatSeer Overview
PatSeer OverviewPatSeer Overview
PatSeer OverviewGridlogics
 
Search Analytics at Enterprise Search Summit Fall 2011
Search Analytics at Enterprise Search Summit Fall 2011Search Analytics at Enterprise Search Summit Fall 2011
Search Analytics at Enterprise Search Summit Fall 2011Sematext Group, Inc.
 
Sumo Logic QuickStart
Sumo Logic QuickStartSumo Logic QuickStart
Sumo Logic QuickStartSumo Logic
 
Performance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and morePerformance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and moreDenodo
 
Sumo Logic QuickStart - May 2016
Sumo Logic QuickStart - May 2016Sumo Logic QuickStart - May 2016
Sumo Logic QuickStart - May 2016Sumo Logic
 
Using Compass to Diagnose Performance Problems
Using Compass to Diagnose Performance Problems Using Compass to Diagnose Performance Problems
Using Compass to Diagnose Performance Problems MongoDB
 
Using Compass to Diagnose Performance Problems in Your Cluster
Using Compass to Diagnose Performance Problems in Your ClusterUsing Compass to Diagnose Performance Problems in Your Cluster
Using Compass to Diagnose Performance Problems in Your ClusterMongoDB
 
Which Questions We Should Have
Which Questions We Should HaveWhich Questions We Should Have
Which Questions We Should HaveOracle Korea
 
Webinar: Lucidworks + Thomson Reuters for Improved Investment Performance
Webinar: Lucidworks + Thomson Reuters for Improved Investment PerformanceWebinar: Lucidworks + Thomson Reuters for Improved Investment Performance
Webinar: Lucidworks + Thomson Reuters for Improved Investment PerformanceLucidworks
 

Semelhante a Solr the intelligent search engine (20)

Mesh Labs Introduction June 2012
Mesh Labs Introduction June 2012Mesh Labs Introduction June 2012
Mesh Labs Introduction June 2012
 
Sumo Logic Quick Start - Feb 2016
Sumo Logic Quick Start - Feb 2016Sumo Logic Quick Start - Feb 2016
Sumo Logic Quick Start - Feb 2016
 
Introduction to enterprise search
Introduction to enterprise searchIntroduction to enterprise search
Introduction to enterprise search
 
II-PIC 2017 in Bangalore
II-PIC 2017 in BangaloreII-PIC 2017 in Bangalore
II-PIC 2017 in Bangalore
 
II-SDV 2017: Gridlogics Technologies
II-SDV 2017: Gridlogics TechnologiesII-SDV 2017: Gridlogics Technologies
II-SDV 2017: Gridlogics Technologies
 
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...
Cis 555 Week 4 Assignment 2 Automated Teller Machine (Atm)...
 
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...
Product Keynote: Denodo 8.0 - A Logical Data Fabric for the Intelligent Enter...
 
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...
Denodo 6.0: Self Service Search, Discovery & Governance using an Universal Se...
 
Introduction to Anzo Unstructured
Introduction to Anzo UnstructuredIntroduction to Anzo Unstructured
Introduction to Anzo Unstructured
 
FAIR Data-centric Information Architecture.pptx
FAIR Data-centric Information Architecture.pptxFAIR Data-centric Information Architecture.pptx
FAIR Data-centric Information Architecture.pptx
 
PatSeer Overview
PatSeer OverviewPatSeer Overview
PatSeer Overview
 
Search Analytics at Enterprise Search Summit Fall 2011
Search Analytics at Enterprise Search Summit Fall 2011Search Analytics at Enterprise Search Summit Fall 2011
Search Analytics at Enterprise Search Summit Fall 2011
 
Sumo Logic QuickStart
Sumo Logic QuickStartSumo Logic QuickStart
Sumo Logic QuickStart
 
Performance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and morePerformance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and more
 
Microsoft Purview
Microsoft PurviewMicrosoft Purview
Microsoft Purview
 
Sumo Logic QuickStart - May 2016
Sumo Logic QuickStart - May 2016Sumo Logic QuickStart - May 2016
Sumo Logic QuickStart - May 2016
 
Using Compass to Diagnose Performance Problems
Using Compass to Diagnose Performance Problems Using Compass to Diagnose Performance Problems
Using Compass to Diagnose Performance Problems
 
Using Compass to Diagnose Performance Problems in Your Cluster
Using Compass to Diagnose Performance Problems in Your ClusterUsing Compass to Diagnose Performance Problems in Your Cluster
Using Compass to Diagnose Performance Problems in Your Cluster
 
Which Questions We Should Have
Which Questions We Should HaveWhich Questions We Should Have
Which Questions We Should Have
 
Webinar: Lucidworks + Thomson Reuters for Improved Investment Performance
Webinar: Lucidworks + Thomson Reuters for Improved Investment PerformanceWebinar: Lucidworks + Thomson Reuters for Improved Investment Performance
Webinar: Lucidworks + Thomson Reuters for Improved Investment Performance
 

Mais de CS2 AG

It Takes Two
It Takes TwoIt Takes Two
It Takes TwoCS2 AG
 
Update TYPO3 V4.5 > 6.2 LTS
Update TYPO3 V4.5 > 6.2 LTSUpdate TYPO3 V4.5 > 6.2 LTS
Update TYPO3 V4.5 > 6.2 LTSCS2 AG
 
22 Web Tipps
22 Web Tipps22 Web Tipps
22 Web TippsCS2 AG
 
TYPO3 | Das zukunftsichere Enterprise CMS
TYPO3 | Das zukunftsichere Enterprise CMSTYPO3 | Das zukunftsichere Enterprise CMS
TYPO3 | Das zukunftsichere Enterprise CMSCS2 AG
 
Increase your conversion rate
Increase your conversion rateIncrease your conversion rate
Increase your conversion rateCS2 AG
 
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...CS2 AG
 
TYPO3 4.5 LTS - Was ist neu?
TYPO3 4.5 LTS - Was ist neu?TYPO3 4.5 LTS - Was ist neu?
TYPO3 4.5 LTS - Was ist neu?CS2 AG
 
TYPO3 Version 4.5 LTS - Preview / Vorschau
TYPO3 Version 4.5 LTS - Preview / VorschauTYPO3 Version 4.5 LTS - Preview / Vorschau
TYPO3 Version 4.5 LTS - Preview / VorschauCS2 AG
 
TYPO3 Version 4.4 Neuerungen
TYPO3 Version 4.4 NeuerungenTYPO3 Version 4.4 Neuerungen
TYPO3 Version 4.4 NeuerungenCS2 AG
 

Mais de CS2 AG (9)

It Takes Two
It Takes TwoIt Takes Two
It Takes Two
 
Update TYPO3 V4.5 > 6.2 LTS
Update TYPO3 V4.5 > 6.2 LTSUpdate TYPO3 V4.5 > 6.2 LTS
Update TYPO3 V4.5 > 6.2 LTS
 
22 Web Tipps
22 Web Tipps22 Web Tipps
22 Web Tipps
 
TYPO3 | Das zukunftsichere Enterprise CMS
TYPO3 | Das zukunftsichere Enterprise CMSTYPO3 | Das zukunftsichere Enterprise CMS
TYPO3 | Das zukunftsichere Enterprise CMS
 
Increase your conversion rate
Increase your conversion rateIncrease your conversion rate
Increase your conversion rate
 
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...
SOM Campus Talk: Social. Driving, Stringent. Von 0 auf 100 im B2B Online-Mark...
 
TYPO3 4.5 LTS - Was ist neu?
TYPO3 4.5 LTS - Was ist neu?TYPO3 4.5 LTS - Was ist neu?
TYPO3 4.5 LTS - Was ist neu?
 
TYPO3 Version 4.5 LTS - Preview / Vorschau
TYPO3 Version 4.5 LTS - Preview / VorschauTYPO3 Version 4.5 LTS - Preview / Vorschau
TYPO3 Version 4.5 LTS - Preview / Vorschau
 
TYPO3 Version 4.4 Neuerungen
TYPO3 Version 4.4 NeuerungenTYPO3 Version 4.4 Neuerungen
TYPO3 Version 4.4 Neuerungen
 

Último

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
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
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
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
 
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
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
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
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Último (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
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
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
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
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
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
 
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
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
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
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Solr the intelligent search engine

  • 1. SOLR, THE INTELLIGENT SEARCH ENGINE Benoît Largeau AGENDA: Stakes | Introduction | Indexing | Scalability | Searching | Admin tools | Conclusion
  • 2. WHAT ARE THE STAKES? INTERNAL SEARCH ENGINE IS ESSENTIAL. Considering: - One user on two is a searcher one on two will use the internal search engine - This searcher population transform more often than other visitors - Less patient to browse need to find quickly otherwise they leave to another shop SEARCH FIND ADD TO CART PAY
  • 3. INTRODUCTION TO SOLR. SOLR PROJECT. • Open source enterprise search server Initiated by CNET in 2004 Openly published the source code in 2006 • the underlying engine • Independent server using standards to communicate such as HTTP / XML / JSON usable on every web project such as those based on Magento
  • 4. INTRODUCTION TO SOLR. SOME REFERENCES. More references here: http://wiki.apache.org/solr/PublicServers
  • 5. INTRODUCTION TO SOLR. FEATURES OFFERED BY SOLR. Indexing data Scalability - Index the whole site (including files, …) - Tolerance (stemmings, synonyms, …) Searching data Admin tools - Layered navigation Display more statistics - Customizable relevance calculation (most frequent requests - Predictive search (different kinds) or search with no answer) - Stemming, Plurals, Synonyms, Stop words, …
  • 6. INDEXING DATA. FEATURES OFFERED BY SOLR. Indexing data - Index the whole site (including files, …) - Tolerance (stemmings, synonyms, …)
  • 7. INDEXING DATA. SCHEMA & TEXT ANALYSIS. Schema  Define how to handle structured data sent by Magento (no crawler such as Nutch)  Typing data price & weight are floats, product name is a string, … o Structured data in Solr allows faceted search to filter by price range for example  Determined by the intended search behavior if we need to filter per price range -> prices have to be stored as floats and not strings to stay comparable Text analysis Text splitted in terms which are processed to calculate stemming, define synonyms, …
  • 9. INDEXING DATA. INDEXING FILES.  Generally indexing structured data e.g. products  Able to index binary formats such as PDF, MS Office, images or music files  Using an interface Solr Cell which is an adapter to Apache Tika  Apache Tika is a toolkit to detect and extract metadata and text content from various documents
  • 10. SCALABILITY. FEATURES OFFERED BY SOLR. Scalability
  • 11. SCALABILITY. DURABLE SOLUTION. Suitably efficient and practical when applied to large situations With a bigger data index or more visitors searches are slower! Testing Solr performance with SolrMeter Solutions to keep good performances with more data: 1. Scale up: Optimizing a single Solr server 2. Scale horizontally: Moving to multiple Solr Servers with replications 3. Scale deep: Combining replication and sharding (for distributed search)
  • 12. SEARCHING DATA. FEATURES OFFERED BY SOLR. Searching data - Layered navigation - Customizable relevance calculation - Predictive search (different kinds) - Stemming, Plurals, Synonyms, Stop words, …
  • 14. SEARCHING DATA. SEARCH RELEVANCY. Factors influencing score: 1. Term frequency 2. Inverse document frequency the rarer a term is in the whole index, the higher its score is. 3. Co-ordination factor the greater the number of query clauses that match a document. 4. Field length the shorter the matching field is, the greater the matching document‘s score is. 5. Boosting customized mathematical rules to increase score. In Magento, based on attribute weights E.g. name 5 -> manufacturer 4 -> sku 3 -> price 2 -> meta_keywords 1
  • 15. ADMIN TOOLS. FEATURES OFFERED BY SOLR. Admin tools Display more statistics (most frequent requests or search with no answer)
  • 16. ADMIN TOOLS. ADMIN FEATURES. 1) Available admin tool in solr but oriented developper To check schema, index, general config, Solr server availability, to view technical statistics… 2) Prefer to use Magento backend To check frequent request or no answer request Very helpful to analyse user expectations then to improve the catalog
  • 17. CONCLUSION. INTEGRATE SOLR IN YOUR PROJECT. Steps: 1. Install and configure Solr single or multiple servers single or multiple languages, … 2. Adapt the standard Magento product schema to your project context 3. Define additional customized data to index such as other tables, files, … 4. Influence search relevance defining attribute weights 5. Integrate in Magento frontend
  • 18. CONCLUSION. COMPARISONS. Features Magento Magento Basic SE with Solr Product indexing ▲ ▲ Document indexing ▲ Synonyms ▲ ▲ Stemming ▲ Stop words ▲ Faceted search ▲ ▲ Relevance calculation ▲ ▲ Customizable relevance calculation ▲ Scalability ▲ Predictive search ▲ Admin tools (frequent requests, no answer…) ▲ ▲ No extra time needed to integrate ▲
  • 19. CONCLUSION. Remember: 1 user on 2 is a searcher! SOLR clearly improves User experience which increases your Transformation Rate
  • 20. CUSTOMER RELATIONSHIP MANAGEMENT ELECTRONIC COMMERCE ONLINE MARKETING CS2 AG PLATINUM MEMBER TYPO3 ASSOCIATION MAGENTO GOLD PARTNER SUGAR SILVER PARTNER Gerbegässlein 1 | CH-4450 Sissach Feldeggstrasse 55 | CH-8008 Zürich Telefon: +41 61 333 22 22 Twitter: @CS2switzerland www.CS2.ch