I really like Homebrew to install stuff on macOS. So in this tutorial I’ll be using Hombrew to install Apache Kafka on macOS. Install Homebrew: Open Terminal, paste the following...
After thinking a lot about what to write next, I stumbled upon a very cool idea. And this is what I thought I should do: Discover something interesting using code...
To get Twitter's Consumer API keys and Access token keys you must have a Twitter account. Once your Twitter Account is ready follow the steps below: 1) Go to https://developer.twitter.com/...
This post will guide you to create a simple web application using Spring Boot and Apache Spark. For the demonstration we are going to build a maven project with Spring...
Let's say we have a text field "name" in an elasticsearch index with the following values: Siddhant, SIDTECHNOCRAT, and sid. Now follow the conventions mentioned in String Sorting in Elasticsearch, which talks about using...
A plugin provides a way to extend or enhance the basic functionality of Elasticsearch without having to fork it from GitHub. Elasticsearch supports a plugin framework which provides many custom...
We should not sort on analyzed text field instead we should sort on not_analyzed text field. Let's understand this with an example: Index some documents with a text field "name"....
I have created an Elasticsearch plugin for sentiment-analysis using Stanford CoreNLP libraries. The plugin is compatible with Elasticsearch 6.4.1. Follow the below steps to use this plugin with your elasticsearch...
Definition Type safety is prevention of typed errors in a programming language. A type error occurs when someone attempts to perform an operation on a value that doesn’t support that operation. In simple...
Statement: Let's say you have a list of integers which you want to group into even and odd numbers. Create a list of integers with four values 1,2,3 and 4: List<Integer>...