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"