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

Deep Dive into Faceting

Boaz Leskes
September 20, 2012

Deep Dive into Faceting

Presentation given by me on the first ElasticSearch NL meetup - 20/9/2012

Boaz Leskes

September 20, 2012
Tweet

More Decks by Boaz Leskes

Other Decks in Technology

Transcript

  1. Tonight • Pizza & Beer • Deep dive into faceting

    ( me :) ) • ElasticSearch.com introduction ( Uri/Shay ) • More drinks..
  2. ?

  3. q = fox 5 times a The lazy dog jumps

    over a quick brown fox
  4. The quick brown fox jumps over the lazy dog The

    quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The lazy dog jumps over the brown fox The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog q = fox
  5. The quick brown fox jumps over the lazy dog The

    quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The lazy dog jumps over the brown fox The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog 5 a 2 a 3 a 10 a "facets": { "o_count": { "lettercount": { "letter": "o", "field": "doc" } } } "facets": { "o_count": { "type ": "lettercount" "count": 12 } }
  6. The quick brown fox jumps over the lazy dog The

    quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The lazy dog jumps over the brown fox The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog q = fox
  7. Facet Processor parse Facet Collector doc ids per shard Field

    Cache doc ids doc values Facet creates
  8. brown dog fox quick 2 5 10 12 5 6

    12 13 2 5 6 10 12 13 brown dog fox quick
  9. The quick brown fox jumps over the lazy dog The

    quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The lazy dog jumps over the brown fox The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog 5 a 2 a 3 a 10 a
  10. 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 Charlie 2 Adam 2 Brown 2 Remco 2 Adam 2 David 3 James 2 Jan 2 James 5 Adam 4 Remco 2
  11. Facet Processor parse Date Facet Collector Value Facet Value Facet

    Reduce Value Facet Collector Value Facet Reduce Value Processor Value Facet Collector Value Facet 10 sept. 17 sept.