In this guide we explore Refresh and Flush operations in Elasticsearch. This guide will bring resolution to the differences between the two in an effective manner. We also cover the underlying basics of Lucene functionalities, like reopen and commits, which helps in understanding refresh and flux operations. Refresh and Flush At the first glance, the general purpose of Refresh and the Flush… Continue reading Guide to Refresh and Flush Operations in Elasticsearch
Exposing api hosted on localhost to external world through internet.
Hi, Just came across with beautiful tool called ngrok which is used to exposes the localhost to the external world. Lets say i have a Restful service(example webapi code) in my PC , i am running it on port 57211. Installation of ngrok: Go to https://ngrok.com/ You can simply download the zip file and unzip where… Continue reading Exposing api hosted on localhost to external world through internet.
Elasticsearch backup script with snapshot rotation
Snapshot And Restore The snapshot and restore module allows to create snapshots of individual indices or an entire cluster into a remote repository. At the time of the initial release only shared file system repository was supported, but now a range of backends are available via officially supported repository plugins. Repositories Before any snapshot or… Continue reading Elasticsearch backup script with snapshot rotation
Creation of Data Buckets ,Cluster Reference and Cluster Replication
Steps to create Data Buckets: 1.Click on Data Buckets and then click on Create New Data Bucket. 2.Type the Bucket Name and click on Create Button.Then you appear the following screens. Creation of XDCR: 1.Click on XDCR tab and click on Cluster Reference. 2.Enter Cluster Name,IP/Hostname and UserName and Password of Couchbase.
How to backup and restore couchbase database
Couchbase is NoSQL database system which allows us to store data in schemaless JSON format. When we are using the couchbase it is important to keep backup of the data so that in case of an accidental break down we can save the data. Below is the process by which we can create backup of… Continue reading How to backup and restore couchbase database
Introduction to Elasticsearch Scripting
Perhaps the most useful and powerful feature of Elasticsearch is its scripting capabilities. Elasticsearch users can perform a variety of operations by enabling and exercising the script modules. Scripts can be used for a broad range of tasks, such as returning specific fields in a search request or modifying specific elements in a field. Read… Continue reading Introduction to Elasticsearch Scripting
How to Install Elastic Search in Ubuntu 14.04
First and fore-most we need to install Java on the local-machine: 1.Open the terminal by using the command “cntrl+alt+t”. 2.Then type following the command “sudo apt-get reporsitory ppa:webupd8team/java” 3.”sudo apt-get update” 4.”sudo apt-get install oracle-java8-installer”. Now check the Java-Version by the following command: “java-version” Steps to be followed to install ElasticSearch: 1. First and foremost… Continue reading How to Install Elastic Search in Ubuntu 14.04