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

Advanced Search for your Legacy application

Advanced Search for your Legacy application

Softshake 2014 - Geneva

Elasticsearch Inc

October 24, 2014
Tweet

More Decks by Elasticsearch Inc

Other Decks in Programming

Transcript

  1. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited for your legacy app advanced search David Pilato Technical advocate elasticsearch. @dadoonet
  2. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited our use case
  3. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited our legacy platform WEB APP DATABASE SQL HTTP / REST JDBC
  4. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited WEB APP our legacy application HTTP / REST JDBC SERVICE LAYER DAO LAYER WEBSERVICE LAYER DOMAIN LAYER
  5. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited JAVA BEANS our legacy domain
  6. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited DATABASE our legacy database SQL
  7. Copyright Elasticsearch 2014. 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
  8. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited architecture connecting with our app
  9. Copyright Elasticsearch 2014 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. Copyright Elasticsearch 2014 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. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited ETL using a ETL DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON
  12. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited JDBC River elasticsearch rivers
  13. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited ETL JDBC river DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON SQL JSON
  14. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited JDBC river DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON SQL
  15. Copyright Elasticsearch 2014. Copying, publishing and/or distributing without written permission

    is strictly prohibited
  16. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited direct connection Do It Yourself
  17. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited direct connection DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  18. Copyright Elasticsearch 2014. 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
  19. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited asynchronous synchronous vs
  20. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited using brokers DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  21. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited using brokers DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  22. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited using brokers DATABASE SQL WEB APP HTTP / REST JDBC ELASTICSEARCH REST / JSON ES-CLIENT
  23. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited
  24. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited
  25. Copyright Elasticsearch 2014 Copying, publishing and/or distributing without written permission

    is strictly prohibited David Pilato Technical advocate elasticsearch. @dadoonet http://elasticsearch.com/support/ We are hiring!