Skip to content

Correct name of option for number of nodes #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions elasticsearch-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ Start the cluster on specific port, with a specific Elasticsearch version, numbe
require 'elasticsearch/extensions/test/cluster'

Elasticsearch::Extensions::Test::Cluster.start \
cluster_name: "my-testing-cluster",
command: "/usr/local/Cellar/elasticsearch/0.90.10/bin/elasticsearch",
port: 9350,
nodes: 3
cluster_name: "my-testing-cluster",
command: "/usr/local/Cellar/elasticsearch/0.90.10/bin/elasticsearch",
port: 9350,
number_of_nodes: 3

# Starting 3 Elasticsearch nodes.....................
# --------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Cluster
# Create a new instance of the Cluster class
#
# @option arguments [String] :cluster_name Cluster name (default: `elasticsearch_test`)
# @option arguments [Integer] :nodes Number of desired nodes (default: 2)
# @option arguments [Integer] :number_of_nodes Number of desired nodes (default: 2)
# @option arguments [String] :command Elasticsearch command (default: `elasticsearch`)
# @option arguments [String] :port Starting port number; will be auto-incremented (default: 9250)
# @option arguments [String] :node_name The node name (will be appended with a number)
Expand Down Expand Up @@ -222,7 +222,7 @@ def initialize(arguments={})
# @example Start a cluster with a custom configuration
# Elasticsearch::Extensions::Test::Cluster::Cluster.new(
# cluster_name: 'my-cluster',
# nodes: 3,
# number_of_nodes: 3,
# node_name: 'my-node',
# port: 9350
# ).start
Expand Down