Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BDX.io 2015: advanced search for your legacy application

Elastic Co
October 16, 2015

BDX.io 2015: advanced search for your legacy application

How do you mix SQL and NoSQL worlds without starting a messy revolution?

This live coding talk will show you how to add Elasticsearch to your legacy application without changing all your current development habits. Your application will have suddenly have advanced search features, all without the need to write complex SQL code!

David will start from a RestX, Hibernate and Postgresql/MySQL based application and will add a complete integration of Elasticsearch, all live from the stage during his presentation.

http://appv2.voxxr.in/#/events/56150cc6c2e680e3e0f6a888/days/56150cc6c2e680e3e0f6a889/presentations/56150cc7c2e680e3e0f6a899

Elastic Co

October 16, 2015
Tweet

More Decks by Elastic Co

Other Decks in Programming

Transcript

  1. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited for your legacy app advanced search David Pilato Developer | Evangelist @dadoonet
  2. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited our legacy platform WEB APP HTTP / REST JDBC DATABASE SQL
  3. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited our legacy domain / database
  4. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited our legacy app demo time $ git clone https://github.com/dadoonet/legacy-search.git $ git checkout 00-legacy $ mvn clean install jetty:run
  5. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited architecture connecting with our app
  6. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited DATABASE SQL ETL using a ETL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON
  7. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited direct connection Do It Yourself
  8. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited DATABASE SQL direct connection WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  9. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited JSON document design 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 }
  10. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited JSON document design PUT /person/person/1 { "name":"Joe Pink", "dateOfBirth":"1971-12-26", "address":{ "city":"Paris", "country":"France" }, "marketing":{ "cars":1000, "food":1500 } }
  11. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited direct connection 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
  12. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited asynchronous synchronous vs
  13. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited DATABASE SQL using brokers WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  14. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited using brokers WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT DATABASE SQL
  15. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited using brokers WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT DATABASE SQL
  16. www.elastic.co Copyright Elastic 2015 Copying, publishing and/or distributing without written

    permission is strictly prohibited Thanks! David Pilato Developer | Evangelist @dadoonet https://www.elastic.co/subscriptions