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
79
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
62
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
52
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
[2026 Oracle Technical Deep Dive] OCI AI Resilience -OCIのセキュリティ対策機能をきちんと使いこなす- (2026年9月17日開催)
oracle4engineer
PRO
0
110
今こそ知りたいAmplifyGen2
mkdev10
2
110
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
410
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
540
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
6
2.1k
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
330
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
620
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3k
Google Cloud Next Tokyo 26登壇時のスクリプト
recruitengineers
PRO
0
170
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
400
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
310
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
140
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Unsuck your backbone
ammeep
672
58k
What's in a price? How to price your products and services
michaelherold
247
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
ラッコキーワード サービス紹介資料
rakko
1
5.1M
How GitHub (no longer) Works
holman
316
150k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
350
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
The agentic SEO stack - context over prompts
schlessera
0
950
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