SlideShare a Scribd company logo
1 of 26
ElasticSearch NL
     20/9/2012
Tonight

• Pizza & Beer
• Deep dive into faceting ( me :) )
• ElasticSearch.com introduction ( Uri/Shay )
• More drinks..
Deep Dive into
   Faceting
     Boaz Leskes
   CTO Buzzcapture
      @bleskes
?
The lazy dog jumps over a quick brown fox
The lazy dog jumps over a quick brown fox
q = fox




The lazy dog jumps over a quick brown fox




                5 times a
The quick brown fox
           The quick brown fox
          jumps quick the lazy fox
            The over brown dog
           jumps over the lazy dog
            jumps over the lazy dog




          The quick brown fox
           The quickdog jumps
q = fox     The lazy brown fox
          jumps over the lazy dog
           jumps the brown foxdog
            over over the lazy




          The quick brown fox
           The quick brown fox
          jumps quick the lazy fox
            The over brown dog
           jumps over the lazy dog
            jumps over the lazy dog
The quick brown fox
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    5a
  jumps over the lazy dog




The quick brown fox
 The quickdog jumps
  The lazy brown fox
jumps over the lazy dog
 jumps the brown foxdog
  over over the lazy        3a   10 a



The quick brown fox
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    2a
  jumps over the lazy dog
"facets": {
                                    "o_count": {
The quick brown fox                    "lettercount": {
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    5a             "letter": "o",
  jumps over the lazy dog                  "field": "doc"
                                       }
                                    }
                                 }



The quick brown fox
 The quickdog jumps
  The lazy brown fox
jumps over the lazy dog
 jumps the brown foxdog
  over over the lazy        3a           10 a


                                 "facets": {
The quick brown fox                 "o_count": {
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    2a         "type ": "lettercount"
  jumps over the lazy dog              "count": 12
                                     }
                                 }
Intermezzo



A plugin to register your facet
The quick brown fox
           The quick brown fox
          jumps quick the lazy fox
            The over brown dog
           jumps over the lazy dog
            jumps over the lazy dog




          The quick brown fox
           The quickdog jumps
q = fox     The lazy brown fox
          jumps over the lazy dog
           jumps the brown foxdog
            over over the lazy




          The quick brown fox
           The quick brown fox
          jumps quick the lazy fox
            The over brown dog
           jumps over the lazy dog
            jumps over the lazy dog
Facet Processor
                 parse

             creates   per shard



doc ids      Facet Collector           Facet

          doc ids         doc values

               Field Cache
brown   2   5   10   12
 dog
 fox    5   6   12   13
quick
brown       2   5         10   12
 dog
 fox        5   6         12   13
quick




        2

        5
                brown
        6        dog
       10           fox
                quick
       12

       13
The quick brown fox
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    5a
  jumps over the lazy dog




The quick brown fox
 The quickdog jumps
  The lazy brown fox
jumps over the lazy dog
 jumps the brown foxdog
  over over the lazy        3a   10 a



The quick brown fox
 The quick brown fox
jumps quick the lazy fox
  The over brown dog
 jumps over the lazy dog    2a
  jumps over the lazy dog
Facet                       Facet Processor
 Facet
  Facet                                       Facet
                                reduce
          internal stream
James     3
Charlie   2
Adam      2
 Eve      1


Brown     2
Remco     2
Adam      2
 Eve      1


David     3
James     2
  Jan     2
 Eve      1
James     3   James     3
Charlie   2
              Charlie   2
Adam      2
              Adam      2
 Eve      1


Brown     2
              Brown     2
Remco     2
              Remco     2
Adam      2
              Adam      2
 Eve      1


David     3
              David     3
James     2
              James     2
  Jan     2
                Jan     2
 Eve      1
James     3   James     3
Charlie   2
              Charlie   2
Adam      2
              Adam      2
 Eve      1


Brown     2
              Brown     2   James   5
Remco     2
              Remco     2   Adam    4
Adam      2
              Adam      2   Remco   2
 Eve      1


David     3
              David     3
James     2
              James     2
  Jan     2
                Jan     2
 Eve      1
Facet Processor
     parse

Facet Collector

     Facet
 internal stream

Facet Processor
    reduce
     output
                   multi threaded

                   single thread
Faceted Date Histogram
Existing Machinery
Facet Processor
     parse

Facet Collector

     Facet
 internal stream

Facet Processor
    reduce
     output
                   multi threaded

                   single thread
Facet Processor
                          parse

                  Date Facet Collector
                        Value Processor

      10 sept.                                  17 sept.
Value Facet Collector                     Value Facet Collector

    Value Facet                               Value Facet

Value Facet Reduce                        Value Facet Reduce
Thanks!

                   Code is available on github:
Letter Count Facet: https://github.com/bleskes/es_nl_meetup_2012_9_20
Faceted Date Histogram: https://github.com/bleskes/elasticfacets

More Related Content

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Elastic search meetup 20/9/2012

  • 1. ElasticSearch NL 20/9/2012
  • 2. Tonight • Pizza & Beer • Deep dive into faceting ( me :) ) • ElasticSearch.com introduction ( Uri/Shay ) • More drinks..
  • 3. Deep Dive into Faceting Boaz Leskes CTO Buzzcapture @bleskes
  • 4. ?
  • 5. The lazy dog jumps over a quick brown fox
  • 6. The lazy dog jumps over a quick brown fox
  • 7. q = fox The lazy dog jumps over a quick brown fox 5 times a
  • 8. The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog jumps over the lazy dog The quick brown fox The quickdog jumps q = fox The lazy brown fox jumps over the lazy dog jumps the brown foxdog over over the lazy The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog jumps over the lazy dog
  • 9. The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 5a jumps over the lazy dog The quick brown fox The quickdog jumps The lazy brown fox jumps over the lazy dog jumps the brown foxdog over over the lazy 3a 10 a The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 2a jumps over the lazy dog
  • 10. "facets": { "o_count": { The quick brown fox "lettercount": { The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 5a "letter": "o", jumps over the lazy dog "field": "doc" } } } The quick brown fox The quickdog jumps The lazy brown fox jumps over the lazy dog jumps the brown foxdog over over the lazy 3a 10 a "facets": { The quick brown fox "o_count": { The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 2a "type ": "lettercount" jumps over the lazy dog "count": 12 } }
  • 11. Intermezzo A plugin to register your facet
  • 12. The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog jumps over the lazy dog The quick brown fox The quickdog jumps q = fox The lazy brown fox jumps over the lazy dog jumps the brown foxdog over over the lazy The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog jumps over the lazy dog
  • 13. Facet Processor parse creates per shard doc ids Facet Collector Facet doc ids doc values Field Cache
  • 14. brown 2 5 10 12 dog fox 5 6 12 13 quick
  • 15. brown 2 5 10 12 dog fox 5 6 12 13 quick 2 5 brown 6 dog 10 fox quick 12 13
  • 16. The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 5a jumps over the lazy dog The quick brown fox The quickdog jumps The lazy brown fox jumps over the lazy dog jumps the brown foxdog over over the lazy 3a 10 a The quick brown fox The quick brown fox jumps quick the lazy fox The over brown dog jumps over the lazy dog 2a jumps over the lazy dog
  • 17. Facet Facet Processor Facet Facet Facet reduce internal stream
  • 18. James 3 Charlie 2 Adam 2 Eve 1 Brown 2 Remco 2 Adam 2 Eve 1 David 3 James 2 Jan 2 Eve 1
  • 19. James 3 James 3 Charlie 2 Charlie 2 Adam 2 Adam 2 Eve 1 Brown 2 Brown 2 Remco 2 Remco 2 Adam 2 Adam 2 Eve 1 David 3 David 3 James 2 James 2 Jan 2 Jan 2 Eve 1
  • 20. James 3 James 3 Charlie 2 Charlie 2 Adam 2 Adam 2 Eve 1 Brown 2 Brown 2 James 5 Remco 2 Remco 2 Adam 4 Adam 2 Adam 2 Remco 2 Eve 1 David 3 David 3 James 2 James 2 Jan 2 Jan 2 Eve 1
  • 21. Facet Processor parse Facet Collector Facet internal stream Facet Processor reduce output multi threaded single thread
  • 24. Facet Processor parse Facet Collector Facet internal stream Facet Processor reduce output multi threaded single thread
  • 25. Facet Processor parse Date Facet Collector Value Processor 10 sept. 17 sept. Value Facet Collector Value Facet Collector Value Facet Value Facet Value Facet Reduce Value Facet Reduce
  • 26. Thanks! Code is available on github: Letter Count Facet: https://github.com/bleskes/es_nl_meetup_2012_9_20 Faceted Date Histogram: https://github.com/bleskes/elasticfacets

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. Survey\n- How many people wrote an ES plugin?\n- How many people are familiar with the ES Faceting code?\n- How many people wrote an ES facet?\n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. remember the process, input sent to shards where the search is made. Then faceting kicks in.\n
  11. hmm - \nvalues are really tokens (potentially show the A example)\nmemory !!\n
  12. \n
  13. \n
  14. remember - this may lose data. Facets like top X terms may get wrong results\n
  15. \n
  16. \n
  17. \n
  18. \n
  19. - Date histogram is cool, but only gives you numerical stats\n- We needed to be able to know the top influentials in our data on a week by week basis (or month or what have you)\n-> Faceted Date Histogram was born -> What is it?\n
  20. \n
  21. \n
  22. \n