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
Daniel Izquierdo Cortazar
April 21, 2017
Technology
0
67
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
40
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
53
Are Maturity Models needed in Inner Source?
dicortazar
0
43
Defining a Metrics Strategy and Measuring Collaboration
dicortazar
1
40
The Xen Code Review Process: An Industrial Approach
dicortazar
0
32
Software Development Analytics, an Introduction
dicortazar
0
39
Defining a Metrics Strategy in Open Source Projects
dicortazar
0
34
Other Decks in Technology
See All in Technology
なぜインフラコードのモジュール化は難しいのか - アプリケーションコードとの本質的な違いから考える
mizzy
55
18k
Redux → Recoil → Zustand → useSyncExternalStore: 状態管理の10年とReact本来の姿
zozotech
PRO
16
8.6k
マルチドライブアーキテクチャ: 複数の駆動力でプロダクトを前進させる
knih
0
900
LINEギフト・LINEコマース領域の開発
lycorptech_jp
PRO
0
300
はじめての OSS コントリビューション 〜小さな PR が世界を変える〜
chiroito
4
340
技術広報のOKRで生み出す 開発組織への価値 〜 カンファレンス協賛を通して育む学びの文化 〜 / Creating Value for Development Organisations Through Technical Communications OKRs — Nurturing a Culture of Learning Through Conference Sponsorship —
pauli
5
390
[CV勉強会@関東 ICCV2025] WoTE: End-to-End Driving with Online Trajectory Evaluation via BEV World Model
shinkyoto
0
270
AIと自動化がもたらす業務効率化の実例: 反社チェック等の調査・業務プロセス自動化
enpipi
0
650
生成AIではじめるテスト駆動開発
puku0x
0
120
FFMとJVMの実装から学ぶJavaのインテグリティ
kazumura
0
120
改竄して学ぶコンテナサプライチェーンセキュリティ ~コンテナイメージの完全性を目指して~/tampering-container-supplychain-security
mochizuki875
1
320
Proxmox × HCP Terraformで始めるお家プライベートクラウド
lamaglama39
1
210
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Docker and Python
trallard
46
3.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Fireside Chat
paigeccino
41
3.7k
Done Done
chrislema
186
16k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
1.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
670
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Scaling GitHub
holman
463
140k
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