Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Advanced search for your Legacy application - J On The Beach
Elastic Co
May 20, 2016
Programming
0
96
Advanced search for your Legacy application - J On The Beach
Talk given at J On The Beach 2016, Malaga - Spain
Elastic Co
May 20, 2016
Tweet
Share
More Decks by Elastic Co
See All by Elastic Co
Les Vendredis noirs : même pas peur ! - Breizhcamp
elastic
15
650
Confoo Montreal: Ingest node: enriching documents within Elasticsearch
elastic
16
720
Elastic{ON} 2018 - Sipping from the Firehose: Scalable Endpoint Data for Incident Response
elastic
6
4.2k
Elastic{ON} 2018 - A Security Analytics Platform for Today
elastic
3
11k
Elastic{ON} 2018 - The State of Geo in Elasticsearch
elastic
7
11k
Elastic{ON} 2018 - Reliable by design - Applying formal methods to distributed systems
elastic
5
4.7k
Elastic{ON} 2018 - Bigger, Faster, Stronger - Leveling Up Enterprise Logging
elastic
1
4.9k
Elastic{ON} 2018: Latest in Logstash
elastic
1
4.4k
Elastic{ON} 2018 - Lessons Learned from Workday's Search Application Journey from POC to Production
elastic
2
2.3k
Other Decks in Programming
See All in Programming
マイクロインタラクション入門〜ディテイルにこだわるエンジニアリング〜
swimmyxox
0
110
CLI構築のススメ
nyankotaro
1
260
Architectural practices for greater scalability and innovation
otaviojava
0
120
byte列のbit表現を得るencodingライブラリ作った
convto
1
200
Jetpack Compose 頑張らないPreviewParameterProvider
horie23
0
110
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
xrdnk
0
280
roadmap to rust 2024
matsu7874
1
900
Monadic Java
mariofusco
4
270
マイクロサービスプラットフォーム向け負荷試験基盤の初期リリースを終えた話
yuyu_hf
PRO
1
480
NieR Re[in]carnationにおけるUnityアニメーション活用術
applibot
1
940
GraphQL+KMM開発でわかったこと / What we learned from GraphQL+KMM development
kubode
0
130
Node.js 最新動向 TFCon 2022
yosuke_furukawa
PRO
6
3k
Featured
See All Featured
How GitHub (no longer) Works
holman
296
140k
A designer walks into a library…
pauljervisheath
196
16k
Embracing the Ebb and Flow
colly
73
3.3k
Building a Scalable Design System with Sketch
lauravandoore
447
30k
The Art of Programming - Codeland 2020
erikaheidi
32
5.8k
The Brand Is Dead. Long Live the Brand.
mthomps
45
2.7k
The Invisible Customer
myddelton
110
11k
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
Scaling GitHub
holman
451
140k
Principles of Awesome APIs and How to Build Them.
keavy
113
15k
Fireside Chat
paigeccino
11
1.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1k
Transcript
‹#› Advanced search for your legacy application David Pilato Developer
| Evangelist @dadoonet J On The Beach
2
our legacy platform 3 WEB APP HTTP / REST JDBC
DATABASE SQL
our legacy domain / database 4
our legacy application 5 demo time $ git clone https://github.com/dadoonet/legacy-search.git
$ git checkout 00-legacy $ mvn clean install jetty:run
Connecting with our app Architecture 6
DATABASE SQL ETL using a ETL 7 WEB APP HTTP
/ REST JDBC ELASTICSEARCH REST / JSON
think document! • Change your mindset: ‒ Forget SQL! ‒
Index what you want to find • A document ‒ A JSON object ‒ Core field types (string, numbers, booleans) ‒ Complex field types (arrays, objects) ‒ Additional field types (geo points, geo shapes) 8
Do It Yourself Direct Connection 9
DATABASE SQL direct connection 10 WEB APP HTTP / REST
JDBC ES-CLIENT ELASTICSEARCH REST / JSON
JSON document design 11 PUT /person/person/1 { "name":"Joe Pink", "dateOfBirth":"1971-12-26",
"address_id":"2", "marketing_id":"3" } PUT /person/address/2 { "city":"Paris", "country":"France" } PUT /person/marketing/3 { "cars":1000, "food":1500 }
JSON document design 12 PUT /person/person/1 { "name":"Joe Pink", "dateOfBirth":"1971-12-26",
"address":{ "city":"Paris", "country":"France" }, "marketing":{ "cars":1000, "food":1500 } }
direct connection 13 demo time $ git checkout 01-direct $
git checkout 02-bulk $ git checkout 03-mapping $ git checkout 04-aggs $ git checkout 05-compute $ mvn clean install jetty:run $ cat README.markdown
synchronous vs asynchronous 14
DATABASE SQL using brokers 15 WEB APP HTTP / REST
JDBC ES-CLIENT ELASTICSEARCH REST / JSON
ELASTICSEARCH REST / JSON using brokers 16 WEB APP HTTP
/ REST JDBC ES-CLIENT DATABASE SQL
ELASTICSEARCH REST / JSON using brokers 17 WEB APP HTTP
/ REST JDBC ES-CLIENT DATABASE SQL
‹#›
‹#›
‹#› thanks! David Pilato Developer | Evangelist @dadoonet https://www.elastic.co/subscriptions J
On The Beach