my
Resume

Golang

Programmer | Traveller | Scientist
All | bleve | brain | dokku | enactus | golang | life | nigeria | programming | travel | tutorial | vim

How to use bleve search with a mongo db database in golang

No matter how long you’ve been using mongo db, at some point, you will become dissatisfied with its data indexing abilities. Almost every dynamic site needs some form of search thee days, but while the built in full text search that comes with mongo db can take you a long way, its just not smart enough for many use cases, like fuzzy searching (miss spelt words and incomplete words), etc. In this tutorial, I will walk you through how I used bleve to improve the search quality of my already existing golang and mongo db web application (https://calabarpages.com).

Working with the filesystem in dokku (Persistent File Storage)

Dokku is a self hosted heroku-like platform as a service. And if you’ve ever used heroku, you’re aware of its ephemeral filesystem that deletes all your content with each deployment. This is a good system, as it forces you to separate your files from your application, and dokku provides an almost identical ephemeral system like heroku. But most applications need to store files somehow. To go around this, most of us simply upload our files to third party block storage platforms like amazon s3.

Diving into golang: 1: An opinionated introduction

In the past six months, i’ve been exclusively doing most of my backend programming work from a programming language known as Go or golang. The features of the language that appeal to me are: * Its speed, which is really close to that of C/C++. * Its simplicity. You can keep the whole language syntax in your head, and not have to consult the documentation for every line of you write.