@@ -51,7 +51,7 @@ There are many other <<configuration-options,configuration options>> on `Connect
5151* whether HTTP compression support should be enabled on the client
5252
5353[float]
54- ==== Connecton pools
54+ ==== Connection pools
5555
5656`ConnectionConfiguration` is not restricted to being passed a single address for Elasticsearch. There are several different
5757types of <<connection-pooling,Connection pool>> available, each with different characteristics that can be used to
@@ -99,10 +99,10 @@ var person = new Person
9999 LastName = "Laarman"
100100};
101101
102- var indexResponse = lowlevelClient.Index<BytesResponse>("people", "person", "1", PostData.Serializable(person)); <1>
102+ var indexResponse = lowlevelClient.Index<BytesResponse>("people", "person", "1", PostData.Serializable(person)); <1>
103103byte[] responseBytes = indexResponse.Body;
104104
105- var asyncIndexResponse = await lowlevelClient.IndexAsync<StringResponse>("people", "person", "1", PostData.Serializable(person)); <2>
105+ var asyncIndexResponse = await lowlevelClient.IndexAsync<StringResponse>("people", "person", "1", PostData.Serializable(person)); <2>
106106string responseString = asyncIndexResponse.Body;
107107----
108108<1> synchronous method that returns an `IIndexResponse`
@@ -238,8 +238,8 @@ is successful
238238----
239239var searchResponse = lowlevelClient.Search<BytesResponse>("people", "person", PostData.Serializable(new { match_all = new {} }));
240240
241- var success = searchResponse.Success; <1>
242- var successOrKnownError = searchResponse.SuccessOrKnownError; <2>
241+ var success = searchResponse.Success; <1>
242+ var successOrKnownError = searchResponse.SuccessOrKnownError; <2>
243243var exception = searchResponse.OriginalException; <3>
244244----
245245<1> Response is in the 200 range, or an expected response for the given request
0 commit comments