From f966187fe7b2f632c435122759de683717f1141f Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Thu, 4 Jun 2020 12:06:47 +0200 Subject: [PATCH] docs(elastic-search): initialize cheatsheets --- README.md | 1 + tools/elastic_search.js | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tools/elastic_search.js diff --git a/README.md b/README.md index 8397c3c..91c6f7f 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ Feel free to take a look. You might learn new things. They have been designed to #### Development - [cURL](tools/curl.sh) +- [Elastic Search](tools/elastic_search.js) - [Git](tools/git.sh) - [Puppeteer](tools/puppeteer.js) - [Sublime Text](tools/sublime_text.md) diff --git a/tools/elastic_search.js b/tools/elastic_search.js new file mode 100644 index 0000000..85351c1 --- /dev/null +++ b/tools/elastic_search.js @@ -0,0 +1,7 @@ +/* ******************************************************************************************* + * ELASTIC SEARCH + * https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html + * ******************************************************************************************* */ + +sudo service elasticsearch status -l // Check elastic search status +sudo service elasticsearch restart // Restart elastic search