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

ElasticSearch Overview

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

ElasticSearch Overview

Avatar for ssinganamalla

ssinganamalla

July 03, 2017
Tweet

More Decks by ssinganamalla

Other Decks in Technology

Transcript

  1. 2 ElasticSearch Search Analytics Schema-less JSON Engine Java based Lucene

    Opensource* Near Real Time Distributed Scalable
  2. 4

  3. 7

  4. 9 Full Text Search • Query – message: “color pink”

    • Results – “Why do girls have to like color pink ?” – “Pink and blue arrived as color for babies in the mid-19th century” – “I love to color blue” – “This blue color is amazing”
  5. 10 Phrase Search • Query – message: “blue color” •

    Results – “This blue color is amazing”
  6. 14 Numeric Range Search • Query – likes > 50

    • Results – “Let us get together and drain that swamp tomorrow” – “How could the polls be so wrong?”
  7. 16 Fuzzy Search • Query – message: “312492868” • Results

    – “It is not good to share phone numbers, but here it is: 6312492868” – “Utility Bill number: 3124928685” – “Bel me 3124892868” 312 4?9 2868
  8. 17

  9. 19 Other Searches • Search Boosting – author:douglas OR title:guide^5

    • Proximity Search – “douglas guide” • Regular Expressions
  10. 20 Aggregations • Count • Sum • Average • Max/Min

    • Median • Standard Deviation • Percentile
  11. 22

  12. 28 Inverted Index Table Term Document Id Frequency i 1

    1 love 1 1 to 1 1 color 1, 2 2 blue 1, 2 2 sky 2 1 amazing 2 1
  13. 31 Doc Values (Column Oriented) Doc Id Value 1 10

    2 5 3 120 Likes Likes: [10, 5, 120] Getting all the likes is super fast Sum: 10 + 5 + 120 = 135
  14. 33 Filtered Sum • “Likes” field values: [10, 5, 120]

    • query_bits: [0, 1, 1] • Apply_query: [0, 5, 120] • Calculate Sum 0 + 5 + 120 = 125
  15. 36 Finally Ask not what ElasticSearch can do for you

    -- ask what you can do with ElasticSearch.