Skip to content

Commit

Permalink
Update docs on configuration format
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Aug 31, 2018
1 parent 232424d commit 14af73e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/elasticsearch/cluster/cluster.ex
Expand Up @@ -93,8 +93,6 @@ defmodule Elasticsearch.Cluster do
%{
api: Elasticsearch.API.HTTP,
bulk_page_size: 5000,
bulk_wait_interval: 5000,
json_library: Poison,
url: "http://localhost:9200",
username: "username",
Expand All @@ -105,7 +103,9 @@ defmodule Elasticsearch.Cluster do
posts: %{
settings: "priv/elasticsearch/posts.json",
store: MyApp.ElasticsearchStore,
sources: [MyApp.Post]
sources: [MyApp.Post],
bulk_page_size: 5000,
bulk_wait_interval: 5000
}
}
}
Expand All @@ -129,8 +129,8 @@ defmodule Elasticsearch.Cluster do
:settings => Path.t(),
:store => module,
:sources => [module],
optional(:bulk_page_size) => integer,
optional(:bulk_wait_interval) => integer
:bulk_page_size => integer,
:bulk_wait_interval => integer
}
}
}
Expand Down

0 comments on commit 14af73e

Please sign in to comment.