Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Data Science Master. ElasticSearch and Kibana....
Search
Daniel Izquierdo Cortazar
April 21, 2017
Technology
80
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Data Science Master. ElasticSearch and Kibana. Session 4: Querying ElasticSearch
Introduction to the REST API provided by ElasticSearch.
Daniel Izquierdo Cortazar
April 21, 2017
More Decks by Daniel Izquierdo Cortazar
See All by Daniel Izquierdo Cortazar
Beyond the 10%. Analysis of the gender-diversity gap.
dicortazar
0
57
Convergence of Communities: OKD = f(Kubernetes++)
dicortazar
0
54
Are you sure you're measuring what you want to measure?
dicortazar
0
41
InnerSource Patterns: A set of proven solutions to InnerSource problems
dicortazar
0
64
Are Maturity Models needed in Inner Source?
dicortazar
0
67
Defining a Metrics Strategy and Measuring Collaboration
dicortazar
1
69
The Xen Code Review Process: An Industrial Approach
dicortazar
0
53
Software Development Analytics, an Introduction
dicortazar
0
49
Defining a Metrics Strategy in Open Source Projects
dicortazar
0
52
Other Decks in Technology
See All in Technology
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
230
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.5k
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
710
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
110
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.2k
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
390
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
300
Kiro Crewをはじめよう
kizawa2020
1
140
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
DGX Spark でどこまでハッキングができるのか?
kash1064
0
900
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
130
Featured
See All Featured
Visualization
eitanlees
153
17k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
980
Joys of Absence: A Defence of Solitary Play
codingconduct
1
540
Navigating Team Friction
lara
192
16k
Technical Leadership for Architectural Decision Making
baasie
3
600
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
520
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
570
Unsuck your backbone
ammeep
672
58k
Designing Experiences People Love
moore
143
24k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
880
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
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