Skip to content

Commit 5dc49ab

Browse files
committed
Merge pull request #273 from JasonPunyon/patch-1
Concepts -> Connecting fix
2 parents 5e5c61c + 7038dc6 commit 5dc49ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/concepts/connecting.markdown

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ This section describes how to instantiate a client and have it connect to the se
1111

1212
## Basic plumbing:
1313

14-
var elasticSettings = new ConnectionSettings("127.0.0.1.", 9200)
14+
var elasticSettings = new ConnectionSettings(new Uri("http://127.0.0.1:9200"))
1515
.SetDefaultIndex("mpdreamz");
1616
var client = new ElasticClient(elasticSettings);
1717

18-
`ConnectionSettings`'s constructor has many overloads, including support for connecting through proxies.
19-
2018
## Connecting
2119

2220
Connecting can be done several ways:

0 commit comments

Comments
 (0)