Use Elasticsearch to Index a Document in Windows

Introduction Elasticsearch is a NoSQL database for storing data in the form of JSON requests to that can store, access, and alter large quantities of data that can easily be queried. Instead of using “records” in a “table”, like with SQL-based databases such as MySQL, it stores data as JSON “documents” in an “index”. This … Continued

The Elasticsearch List Indexes Tutorial

Introduction There are multiple ways to list all of the indexes contained in an Elasticsearch cluster. One common way of doing this is to use cURL and Kibana to issue HTTP requests to communicate with the Elasticsearch cluster to have it return all of the index names and their respective UUIDs. The Elasticsearch list indexes … Continued

Elasticsearch Dockerfile Example

Introduction Docker containers offer a simple way to create and package your apps in their own environment. If you’re interested in starting a Docker container running Elasticsearch, the process is actually quite simple. In this article, we’ll show you how to create an image and spin up an Elasticsearch Docker container using Dockerfile. Prerequisites Before … Continued

Elasticsearch and Scroll in Python

Introduction Scrolling in Elasticsearch allows you retrieve a large number of documents, in steps or iterations, similar to pagination or a “cursor” in relational databases. In this article we’ll explore the Elasticsearch concept of scrolling, and how we can implement it in an application using the Python low-level client’s “helpers” library. Let’s go over how … Continued

Build an Elasticsearch Web Application in Python (Part 2)

Introduction to Elasticsearch web applications in Python This article is part two of an article series that will show you how to build a Python web application designed to return Elasticsearch information. The first part of the series demonstrated how to create the web server using the Bottle framework. It also provided some example code … Continued

Build an Elasticsearch Web Application in Python (Part 1)

Introduction to Elasticsearch web applications in Python Web applications are a great way to bring your Elasticsearch cluster’s search functionality to the front end for a better user experience. This article will demonstrate how to utilize Elasticsearch’s efficient search and analytics engine in a simple web app that can execute complex queries of its document … Continued

Get the mapping of an Elasticsearch index in Python

Introduction to the _mapping schema for Elasticsearch schema The _mapping of an index in Elasticsearch is the essentially the schema for the documents. It’s the layout of the index’s fields that sets up a blueprint for storing and organizing fields, and their respective data, when documents are indexed to the Elasticsearch index. Getting the mapping … Continued

Index a Bytes String into Elasticsearch with Python

Introduction to Elasticsearch and Python The Python low-level REST client for Elasticsearch maps closely to the Java API for the Elasticsearch client. This article demonstrates how you can use the client to create a _mapping schema for a document with an encoded bytes string, and then index an encoded dictionary. The article will demonstrate how … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.