Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.49 KB

Elasticsearch.md

File metadata and controls

28 lines (15 loc) · 1.49 KB

ElasticSearch

ElasticSearch is an end-to-end search and analytics platform.

Prerequisites

First you must download ElasticSearch.

Launch single server instance

You can start elasticsearch in the foreground with: (link)

  ./bin/elasticsearch

Test it out by opening another terminal window and running:

  curl 'http://localhost:9200/?pretty'

Elasticsearch provide a restful api with json over http over port 9200. link

Configure indexed data

In Elasticsearch, all data in every field is indexed by default. That is, every field has a dedicated inverted index for fast retrieval. And, unlike most other databases, it can use all of those inverted indices in the same query, to return results at breathtaking speed. source

Other Features

  • Multi-get : retrieving multiple documents with one request.
  • Bulk request : the bulk API allows us to make multiple create, index, update or delete requests in a single step.