And, Don't Forget to Stop & Restart the ElasticSearch Service
This post comes right on the heels of the previous post, "ElasticSearch Index Name Must be Lowercase."
I should've done this right after changing the ElasticSearch configuration file but, of course, I [wrongly] assumed that ElasticSearch would pick up the change on the fly. Once I thought about it, though, I realized that the configuration file is only read when the JVM fires up the JAR file.
So, if you make changes to your ElasticSearch configuration file (/config/elasticsearchlyml), then don't forget to restart ElasticSearch. This is true regardless of whether you're runng ElasticSearch from the command line or as a service (or daemon).
I should've done this right after changing the ElasticSearch configuration file but, of course, I [wrongly] assumed that ElasticSearch would pick up the change on the fly. Once I thought about it, though, I realized that the configuration file is only read when the JVM fires up the JAR file.
So, if you make changes to your ElasticSearch configuration file (/config/elasticsearchlyml), then don't forget to restart ElasticSearch. This is true regardless of whether you're runng ElasticSearch from the command line or as a service (or daemon).
Comments
Post a Comment