Session Details

The Conference for Delphi & More
October 28 - 30, 2019 | Meliá Düsseldorf

Nigel Tavendale


06 Nov 2018
10:30 - 11:30
Team Discount Register 3+ colleagues and save up to 100 €! Register now!

Elastic Delphi – Using An Elasticsearch Document Store With Delphi

06 Nov 2018
10:30 - 11:30

Delphi is primarily targeted to relational database development, so this talk will serve as an introduction to the Elasticsearch document storage system. We begin with a
discussion of structured vs. unstructured data and then move on to a description of Elasticsearch itself – what it is and, more importantly, what it isn’t. Then we will look at the advantages and disadvantages of using it.
I will then show some basic code in Delphi using Indy components to interact with an ES document store. Creation of documents, updating, deleting, all with code samples. After this we look at the bulk update API, and potential pitfalls of updating more than one index in a single bulk operation.
Finally, we will discuss structure of basic search request, query and filter, with relevant code samples.