Elastic Search Query

Hi!! I am using Elasticsearch _plugin/head i.e., “http://localhost:9200/_plugin/head/” default port for elasticsearch is 9200 Creating index: Index is a collection of different type of documents and document properties. POST http://localhost:9200/check_index Response: {“acknowledged”: true} Adding data: PUT http://localhost:9200/_search/basics/sampledocs/1/ { “name”: “a”, “city”: “delhi”, “age”: 15 } Response: “_index”: “check_index”, “_type”: “check_type”, “_id”: “1”, “_version”: 1, “_shards”: […]

Read more "Elastic Search Query"

Elastic Search

Hi!! Here are initial steps for Elastic Search Step 1 — Installing Java First, you will need a Java Runtime Environment (JRE) on your Droplet because Elasticsearch is written in the Java programming language. Elasticsearch requires Java 7 or higher. Installing OpenJDK: First update the list of available packages.   $sudo apt-get update Then install […]

Read more "Elastic Search"

Database

Hello everyone!! Data is collection of facts and figures anything visible to us or beyond our visualisation. Database is a collection of related data, stored so that it is available to all different users for different purposes. Database management system is a collection of programs that enables users to create and maintain a database. Advantages […]

Read more "Database"

UNIX

Hi!! Today I’m writting a blog on Unix. UNIX developed in 1970s at the Bell Labs research center by Ken Thompson, Dennis Ritchie and Rudd Conaday. Kernel: Core of operating system Control the hardware of computer system Every UNIX system has a kernel that gets automatically loaded into memory when system is booted Types of […]

Read more "UNIX"

GIT Basics

Hi !! Today I am going to explain GIT briefly. At the heart of GitHub is an open source version control system (VCS) called Git. Git is responsible for everything GitHub-related that happens locally on your system. GIT Lifecycle The pictorial representation of the GIT work-flow.                   […]

Read more "GIT Basics"

MONGODB BASICS

Hello everyone!! Today I am going to explain MONGODB. Mongodb is open source, cross platform, documnent oriented database(No-SQL Database). Mongodb has _id of 12 bytes which assures the uniqueness of every document: first 4 bytes :for the current timestamp, next 3 bytes :for machine id, next 2 bytes :for process id of mongodb server and […]

Read more "MONGODB BASICS"