Elasticsearch: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Created page with "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..."
 
Brian Wilson (talk | contribs)
mNo edit summary
Line 8: Line 8:


Current version is 6.4.2
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 ==
== On Bellman ==


root@bellman:/etc/sysctl.d# cat 30-elasticsearch_in_docker.conf
In a production server you probably don't want to use Docker. This is not "production", it's just me.
  # Suggested number for Elasticsearch in production use
 
  vm.max_map_count=262144
=== 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

Revision as of 23:33, 8 November 2018

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