Created
February 6, 2020 15:59
-
-
Save ediblecode/869c9643f8f781e8faa628746076104b to your computer and use it in GitHub Desktop.
Run ElasticSearch locally for NICE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -e "ES_JAVA_OPTS=-Xms2g -Xmx2g" -p 9200:9200 -v "/$(pwd)/ElasticConfiguration/synonyms.txt:/usr/share/elasticsearch/config/synonyms.txt" -v "/$(pwd)/ElasticConfiguration/stemmer_override.txt:/usr/share/elasticsearch/config/stemmer_override.txt" --name elasticsearch docker.elastic.co/elasticsearch/elasticsearch:6.5.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will probably also need to set up an alias, POST to http://localhost:9200/_aliases with: