How To Map An Elasticsearch Index Using The Python Client

Introduction Python dictionaries can be used to create an Elasticsearch mapping schema, however, you must use Python Version 2 or 3 in order to be able to map Elasticsearch index with Python. You will also need to confirm the Elasticsearch cluster is up and running prior to beginning mapping an index with Elasticsearch. Make sure … Continued

Get An Elasticsearch Cluster’s Indices Using Python

Introduction If you’re attempting to integrate Elasticsearch with Python one of the first challenges you’ll encounter will be how to get a list of your Elasticsearch Clusters indices through Python. It’s a small task but is the foundation that leads to much more advanced interactions. In this tutorial we’ll detail exactly how to get a … Continued

How To Iterate The Results Of An Elasticsearch Search Query Using Python

Introduction If you’re planning to use Python to communicate with Elasticsearch, you’ll find that it’s easy to create a search query and get your results returned. However, it’s important to remember that you’ll have to loop through your set of results in order to access each individual document and its fields. Fortunately, accomplishing that task … Continued

How to Retrieve MongoDB Document using PHP

How to Retrieve MongoDB Document using PHP Introduction When you use PHP to locate documents in MongoDB based on specific criteria, if the documents are there, you’ll find them. It’s important to know though, that you must have compatible versions of Mongo DB and PHP in order to locate the documents you want. What’s more, … Continued

How to Use Python to Update API Elasticsearch Documents

Introduction The Python client can be used to update existing documents on an Elasticsearch cluster. In order to perform any python updates API Elasticsearch you will need Python Versions 2 or 3 with its PIP package manager installed along with a good working knowledge of Python. Once you have the basics requisites you will be … Continued

How to Update MongoDB Document using PHP

Introduction MongoDB is an open-source database developed by MongoDB that stores data as documents in a binary representation, or Binary JSON, called BSON. The data objects are stored as individual documents inside a collection of documents. As such, updating MongoDB Document using PHP can be done one at a time or in groups. You will … Continued

How to Insert MongoDB Document using PHP

Introduction To take advantage of everything MongoDB database has to offer in ways of database management, you’ll need to know how to correctly insert documents into your MongoDB collections. Since documents are stored as JavaScript Object Notation (JSON) and in BSON format, your’re actually making them super easy to retrieve when you use PHP to … 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.