Swarmee

Blog From Elastic Stack Consultants,
in Sydney Australia

Setting Up Your Analysis Chain For Searching

Elasticsearch Mapping Configuration for Searching Summary The business requirement is very straight forward - I want a search for video game or videogame or video gaming to return all documents wi...

Extracting Data From Elasticsearch With Python (Scan API)

Extracting Data From Elasticsearch With Python (Scan API) Executive Summary Sometimes you need an easy way to save the full contents of a index out to disk, there is a helper API that makes this r...

Elasticsearch Match Query Explained

So How Does The Elasticsearch Match Query Work Executive Summary The elasticsearch match query is your go to search query whenever starting out some analysis in elasticsearch, this post attempts t...

Loading Data Into Elasticsearch With Python (Bulk API)

Loading Data Into Elasticsearch With Python (Bulk API) Executive Summary Sometimes logstash does not give you the flexibility you need to massage source documents in the required format, and you n...

Custom Sorting Using Painless Scripts

Leveraging Scripted Fields In Elasticsearch Summary Ok some times you really want your results to come back in a specific order based on a specific field - you are then happy for the results to be...

Using Python Requests With Elasticsearch

Using Python Requests With Elasticsearch Summary Elastic provides a great elasticsearch library for python. However if you have lots of other rest services you might prefer to standarise on using ...

Searching Using Scripts

Leveraging Scripted Fields In Elasticsearch Summary There are lots of comments on the internet that using scripted field search is slow and CPU intensive and you should not do it. However some tim...

Docker Compose 'Elastic Stack' With Sample Data

Summary This configuation provides the required actions to setup a oss dev/test Elastic Stack, with some sample nested documents. First Clone the projects repo git clone https://github.com/swar...

Upgrading Elasticsearch Version 1 to Version 6

Upgrading Elasticsearch from Version 1.X to Version 6.X Background Recently I have been helping out a number of small organisations upgrading from elasticsearch V1.X to V6.X. The story is uncannil...

Complex Event Data Modelling in Elasticsearch

Complex Event Modelling in Elasticsearch Executive Summary This guide walks through the theory and practice of modelling complex data events in elasticsearch for speed and limited data storage, wi...