README.md in ej-0.0.5 vs README.md in ej-0.0.6

- old
+ new

@@ -1,9 +1,11 @@ # Ej -elasticsearch utility +elasticsearch command line utility +required ruby version >= 2.0 + ## Installation Add this line to your application's Gemfile: gem 'ej' @@ -22,11 +24,11 @@ ### simple search ```bash ej -s ``` -### other host +### other host(default host is localhost) ```bash ej -s -h other_host ``` ### query search and index @@ -34,20 +36,30 @@ ej -s "ip_address: 127.0.0.1" -i logstash-2014.07.01 ``` ### index list ```bash -ej -l +ej -l -h other_host ``` +### count +```bash +ej -c "log_date: 2014-01-15" +``` + ### facet ```bash -ej -c ip_address -q "log_date: 2014-01-15" +ej -f session_id -q "log_date: 2014-01-15" ``` ### mapping ```bash ej -m +``` + +### delete index +```bash +ej delete -i logstash-2014.07.01 -h other_host ``` ## Contributing