Elasticsearch

From Wildsong
Revision as of 23:33, 8 November 2018 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

I am looking at Elasticsearch because it's chapter 6 in the "Building Enterprise Javascript Applications".

I don't want to spend much time building it, so I am looking at the official Docker version.

See also Kibana for visualization.

Source code is in Github, https://github.com/elastic/elasticsearch-docker

Current version is 6.4.2

Basic concept

You index all your files, and store the index in a database that Elasticsearch uses.

On hosted service

Free trial, whoo whoo. https://www.elastic.co/cloud/elasticsearch-service/signup

On Bellman

In a production server you probably don't want to use Docker. This is not "production", it's just me.

Docker on Bellman

docker network create elasticnet
docker run -f --name elasticsearch --net elasticnet -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:tag