Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ElasticSearch Overview
Search
ssinganamalla
July 03, 2017
Technology
0
53
ElasticSearch Overview
ssinganamalla
July 03, 2017
Tweet
Share
More Decks by ssinganamalla
See All by ssinganamalla
Graphite Overview
ssinganamalla
0
25
NoSql Data DBs
ssinganamalla
1
29
NoSqlDataTypes.pdf
ssinganamalla
0
25
Other Decks in Technology
See All in Technology
入門 PEAK Threat Hunting @SECCON
odorusatoshi
0
150
あなたが人生で成功するための5つの普遍的法則 #jawsug #jawsdays2025 / 20250301 HEROZ
yoshidashingo
2
270
2/18 Making Security Scale: メルカリが考えるセキュリティ戦略 - Coincheck x LayerX x Mercari
jsonf
0
160
IAMのマニアックな話2025
nrinetcom
PRO
1
110
急成長する企業で作った、エンジニアが輝ける制度/ 20250227 Rinto Ikenoue
shift_evolve
0
120
Iceberg Meetup Japan #1 : Iceberg and Databricks
databricksjapan
0
330
LINE NEWSにおけるバックエンド開発
lycorptech_jp
PRO
0
210
Raycast AI APIを使ってちょっと便利な拡張機能を作ってみた / created-a-handy-extension-using-the-raycast-ai-api
kawamataryo
0
210
EMConf JP 2025 懇親会LT / EMConf JP 2025 social gathering
sugamasao
2
190
Potential EM 制度を始めた理由、そして2年後にやめた理由 - EMConf JP 2025
hoyo
2
2.5k
脳波を用いた嗜好マッチングシステム
hokkey621
0
280
Windows の新しい管理者保護モード
murachiakira
0
200
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Producing Creativity
orderedlist
PRO
344
40k
Writing Fast Ruby
sferik
628
61k
Thoughts on Productivity
jonyablonski
69
4.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
RailsConf 2023
tenderlove
29
1k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Transcript
ElasticSearch Srinivas Singanamalla
2 ElasticSearch Search Analytics Schema-less JSON Engine Java based Lucene
Opensource* Near Real Time Distributed Scalable
3 Google Trends
4
5 Jim Elasticsearchovsky Faceboook Inc. Alice Faceboookuserger Faceboook User No
intent of gender discrimination
6 Jim Elasticsearchovsky Faceboook Inc. Alice Faceboookuserger Faceboook User
7
8 Faceboook Post
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”
10 Phrase Search • Query – message: “blue color” •
Results – “This blue color is amazing”
11 Highlighting Search • Query – message: “elasticsearch” • Results
12 Social Likeability: The number of likes you get in
your social media content.
13 Numeric Search • Query – likes: 50 • Results
– None
14 Numeric Range Search • Query – likes > 50
• Results – “Let us get together and drain that swamp tomorrow” – “How could the polls be so wrong?”
15 Call me? 312 4?9 2868
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
17
18 Search Suggestions • Query – “tring out Elasticsearch” •
Results – “trying out Elasticsearch”
19 Other Searches • Search Boosting – author:douglas OR title:guide^5
• Proximity Search – “douglas guide” • Regular Expressions
20 Aggregations • Count • Sum • Average • Max/Min
• Median • Standard Deviation • Percentile
21 Search Query: REST API
22
23 Aggregation: Sum
24 Aggregation: Average
25 DEMO
26 Search and Aggregations Ingestion Inverted Index Doc Values Search
Aggregation
27 Inverted Index
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
29 Inverted Index: Numeric Search • Find documents where –
423 < clicks < 642
30 Aggregations: Sum Get me sum of all likes
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
32 Filtered Sum Get me sum of all likes containing
“elasticsearch”
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
34 How can we use ES? API Server RDBMS ElasticSearch
35 How can we use ES?
36 Finally Ask not what ElasticSearch can do for you
-- ask what you can do with ElasticSearch.
37 • Icons are taken from http://www.freepik.com/