If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.
| Math.tanh = Math.tanh || function(x) { | |
| if(x === Infinity) { | |
| return 1; | |
| } else if(x === -Infinity) { | |
| return -1; | |
| } else { | |
| return (Math.exp(x) - Math.exp(-x)) / (Math.exp(x) + Math.exp(-x)); | |
| } | |
| }; |