mxcl/homebrew — pull request #8366 by karmi (2011-10-29 16:46:54+00:00)
Title: ElasticSearch formula cleanup: config files location and instructions

The formula now installs ElasticSearch configuration files into the `/usr/local/etc/elasticsearch/` folder, where they survive version updates and cleanups, and allow the user to manage them manually, as suggested by @enquora.

Previously, calling `brew cleanup` would remove the configuration files from older versions, potentially losing user data.

We symlink the files from `/usr/local/etc` from the version folder in Cellar, so user can find the files easily -- and potentially delete the symlinks and use different configurations for different versions.

Also, formula `caveats` was updated with instructions for local development (on a single machine, with small indices), where the default 5 shards and 1 replica make little sense.