heartin's blog

Amazon Elasticsearch Service - Learning Plans

With the previous notes from the current book (Amazon Elasticsearch Service) and Elasticsearch Essentials, you should have decent understanding of Elasticsearch. Next, we will try to learn Amazon ES in deep.

Following are some of the links that will help start that journey to master Amazon ES:

  1. Creating and Configuring Amazon Elasticsearch Service Domains

Introduction to Java Clients for Elasticsearch

Java programmers had two choices when communicating with Elasticsearch: they could use either the REST API over HTTP, or the internal Java API (aka transport client), which is used by Elasticsearch itself for node-to-node communication. When using the HTTP rest client, Elasticsearch parses the JSON to Java objects and then use the internal Java API, and when we use the internal Java API we use those internal Java objects directly. 

 

Elasticsearch Query DSL - Query Context vs Filter Context

Elasticsearch provides a full Query DSL based on JSON to define queries. The behaviour of a query clause depends on whether it is used in query context or in filter context.

In Query context, besides deciding whether or not the document matches, the query clause also calculates a _score representing how well the document matches, relative to other documents. Here, a query clause is passed to a query parameter, such as the query parameter in the search API.

Useful Docker Commands

To show only running containers:

docker ps

or

docker container ps

 

To show all containers:

docker ps -a

or

docker container ps -a

 

To show the latest created container (includes all states):

docker ps -l

 

To show n last created containers (includes all states):

docker ps -n=-1

Elasticsearch Aggregations Overview

Elasticsearch aggregations group and extract summaries out of your data. 

Aggregations belong into four main families:

  1. Bucketing

    1. Bucketing aggregations build buckets (groups) and put documents into relevant bucket based on some criteria. Each bucket is associated with a key and a document criterion

  2. Metric

    1. Metric Aggregations compute metrics over a set of documents.

      1. Two types:

        1. Single value numeric metric aggregations (output single value)

Pages

Learn Serverless from Serverless Programming Cookbook

Contact

Please first use the contact form or facebook page messaging to connect.

Offline Contact
We currently connect locally for discussions and sessions at Bangalore, India. Please follow us on our facebook page for details.
WhatsApp (Primary): (+91) 7411174113
Phone (Escalations): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About

CloudMaterials is my blog to share notes and learning materials on Cloud and Data Analytics. My current focus is on Microsoft Azure and Amazon Web Services (AWS).

I like to write and I try to document what I learn to share with others. I believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream