diff --git a/docs/client-concepts/low-level/getting-started.asciidoc b/docs/client-concepts/low-level/getting-started.asciidoc index 5da0f6db90d..acc9371a81f 100644 --- a/docs/client-concepts/low-level/getting-started.asciidoc +++ b/docs/client-concepts/low-level/getting-started.asciidoc @@ -51,7 +51,7 @@ There are many other <> on `Connect * whether HTTP compression support should be enabled on the client [float] -==== Connecton pools +==== Connection pools `ConnectionConfiguration` is not restricted to being passed a single address for Elasticsearch. There are several different types of <> available, each with different characteristics that can be used to @@ -99,10 +99,10 @@ var person = new Person LastName = "Laarman" }; -var indexResponse = lowlevelClient.Index("people", "person", "1", PostData.Serializable(person)); <1> +var indexResponse = lowlevelClient.Index("people", "person", "1", PostData.Serializable(person)); <1> byte[] responseBytes = indexResponse.Body; -var asyncIndexResponse = await lowlevelClient.IndexAsync("people", "person", "1", PostData.Serializable(person)); <2> +var asyncIndexResponse = await lowlevelClient.IndexAsync("people", "person", "1", PostData.Serializable(person)); <2> string responseString = asyncIndexResponse.Body; ---- <1> synchronous method that returns an `IIndexResponse` @@ -238,8 +238,8 @@ is successful ---- var searchResponse = lowlevelClient.Search("people", "person", PostData.Serializable(new { match_all = new {} })); -var success = searchResponse.Success; <1> -var successOrKnownError = searchResponse.SuccessOrKnownError; <2> +var success = searchResponse.Success; <1> +var successOrKnownError = searchResponse.SuccessOrKnownError; <2> var exception = searchResponse.OriginalException; <3> ---- <1> Response is in the 200 range, or an expected response for the given request