All writing

Tutorials

Articles about tutorials.

9 articles
  1. 19 min read

    Get Started With Docker

    A practical introduction to Docker containers, images, commands, volumes, networking, Dockerfiles, and running multiple services with Docker Compose.

  2. 15 min read

    Getting Started With Elasticsearch in Java Spring Boot

    Connect Spring Boot 2 to Elasticsearch using Spring Data repositories, ElasticsearchRestTemplate, and the REST high-level client, with CRUD examples.

  3. 13 min read

    How to Set up a Self-Hosted Ghost Blogging Platform

    A walkthrough of self-hosting Ghost on DigitalOcean, including domain setup, Cloudflare DNS and TLS, server configuration, and the Ghost admin account.

  4. 10 min read

    How to Handle Typos in Elasticsearch Using Fuzzy Query

    Handle typos in Elasticsearch with fuzzy and match queries, using edit distance, fuzziness, transpositions, prefix length, and query tuning examples.

  5. 7 min read

    Avoiding the Null Pointer Exception With Optional in Java

    How to use Java Optional to handle missing values, with examples of map, flatMap, filter, fallback methods, and common mistakes to avoid.

  6. 7 min read

    Create a Simple Autocomplete With Elasticsearch

    Build a simple Elasticsearch autocomplete using match_phrase_prefix, from index mappings and sample documents to query behavior and limitations.

  7. 9 min read

    Functional Programming in Java, Explained

    Java functional programming with lambda expressions and functional interfaces, including built-in interfaces and a small custom Stream implementation.

  8. 9 min read

    Elasticsearch: Text vs. Keyword

    Compare Elasticsearch text and keyword fields: how analysis changes indexing, how term and match queries behave, and when to use each field type.

  9. 7 min read

    Basics of Elasticsearch for Developer

    An introduction to Elasticsearch for developers, covering inverted indexes, field types, analyzers, document writes, queries, and aggregations.