Elastic Delphi – Using An Elasticsearch Document Store With Delphi
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.