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
Data Science Master. ElasticSearch and Kibana....
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Daniel Izquierdo Cortazar
April 21, 2017
Technology
0
69
Data Science Master. ElasticSearch and Kibana. Session 4: Querying ElasticSearch
Introduction to the REST API provided by ElasticSearch.
Daniel Izquierdo Cortazar
April 21, 2017
Tweet
Share
More Decks by Daniel Izquierdo Cortazar
See All by Daniel Izquierdo Cortazar
Beyond the 10%. Analysis of the gender-diversity gap.
dicortazar
0
40
Convergence of Communities: OKD = f(Kubernetes++)
dicortazar
0
49
Are you sure you're measuring what you want to measure?
dicortazar
0
30
InnerSource Patterns: A set of proven solutions to InnerSource problems
dicortazar
0
58
Are Maturity Models needed in Inner Source?
dicortazar
0
48
Defining a Metrics Strategy and Measuring Collaboration
dicortazar
1
41
The Xen Code Review Process: An Industrial Approach
dicortazar
0
32
Software Development Analytics, an Introduction
dicortazar
0
40
Defining a Metrics Strategy in Open Source Projects
dicortazar
0
35
Other Decks in Technology
See All in Technology
マルチロールEMが実践する「組織のレジリエンス」を高めるための組織構造と人材配置戦略
coconala_engineer
3
710
JAWS DAYS 2026 楽しく学ぼう!ストレージ 入門
yoshiki0705
2
140
OCI技術資料 : コンピュート・サービス 概要
ocise
4
54k
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
250
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
190
非情報系研究者へ送る Transformer入門
rishiyama
11
7k
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
250
生成AIの利用とセキュリティ /gen-ai-and-security
mizutani
1
1.6k
楽しく学ぼう!ネットワーク入門
shotashiratori
3
2.7k
[JAWSDAYS2026]Who is responsible for IAM
mizukibbb
0
390
トップマネジメントとコンピテンシーから考えるエンジニアリングマネジメント
zigorou
4
840
聲の形にみるアクセシビリティ
tomokusaba
0
170
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
980
The Curious Case for Waylosing
cassininazir
0
270
How to train your dragon (web standard)
notwaldorf
97
6.5k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Un-Boring Meetings
codingconduct
0
220
The Curse of the Amulet
leimatthew05
1
9.8k
Mobile First: as difficult as doing things right
swwweet
225
10k
A better future with KSS
kneath
240
18k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
130
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Transcript
Querying ElasticSearch Daniel Izquierdo Cortázar
[email protected]
/ @dizquierdo Bitergia
Outline Introduction ElasticSearch DSL Python Examples Daniel Izquierdo Cortázar Máster
en Data Science. ETSII. 2
ElasticSearch DSL Two main contexts: Query: looking for matches How
well does this document match with this query? Filter: filtering data as in SQL Does this document match with this query? Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 3
ElasticSearch DSL And we can match, term or range queries
So we can query + match or filter + term. Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 4
ElasticSearch DSL Match: accepts text/numerics/dates GET /_search { "query": {
"match" : { "message" : "this is a test" } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 5
ElasticSearch DSL Term: look for the exact value GET my_index/my_type/_search
{ "query": { "term": { "status": "open" } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 6
ElasticSearch DSL Ranges: numerics and dates GET _search { "query":
{ "range" : { "date" : { "gte" : "now-1d/d", "lt" : "now/d" } } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 7
ElasticSearch DSL Example of use https://github.com/dicortazar/ipython-notebooks/blob/master/teaching/masterdatascience/OPNFV%20Metrics%20with%20E lasticSearch%20DSL.ipynb Daniel Izquierdo Cortázar
Máster en Data Science. ETSII. 8