Skip to content

Commit

Permalink
changed example command to have preference for replay
Browse files Browse the repository at this point in the history
  • Loading branch information
Missy authored and Missy committed May 2, 2013
1 parent c4c6601 commit 555d036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/squirrel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
clear all caches
ruby squirrel.rb cache --host=localhost --port=9200 --clear_all_cache=true
run slow log queries
ruby squirrel.rb replay --host=localhost --port=9200 --execute_slow_queries=/var/log/elasticsearch/padraig.log
ruby squirrel.rb replay --host=localhost --port=9200 --preference=true,_primary_first --execute_slow_queries=/var/log/elasticsearch/padraig.log
get backup an index aka generate a dumpfile
ruby squirrel.rb backup --host=localhost --port=9200 --output_dir="." --dump_index=flight_count_20130405 --batch_size=100 --dump_mapping=flight_count_20130405_mapping.json
get the cardinality of a dumpfile(card_file)
Expand Down

0 comments on commit 555d036

Please sign in to comment.