Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 846 Bytes

elasticsearch-configuration.md

File metadata and controls

44 lines (29 loc) · 846 Bytes

Civil Services Logo

↤ Developer Overview

Elasticsearch Configuration

Start / Stop

You need Elasticsearch running, which you can do if you've Brew-installed it like this:

brew services start [email protected]
brew services stop [email protected]

On Linux you can run in like this ( assuming you installed the service ):

sudo service elasticsearch start
sudo service elasticsearch stop

Manage

There are a number of commands to run to get your local Elasticsearch index set up and maintained.

To create the events index and mappings:

npm run elasticsearch:create

To delete the index:

npm run elasticsearch:delete

To update the index:

npm run elasticsearch:update