Skip to content
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

Fix spelling mistakes. #4221

Merged
merged 3 commits into from Nov 13, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -70,7 +70,7 @@ public void AvailableOptions()
}
/**
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
* used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
* used is one that is capable of reseeding itself. For this reason, we'd recommend specifying credentials
* on `ConnectionSettings`.
*====
*/
Expand Down
Expand Up @@ -90,7 +90,7 @@ public class ConnectionPooling
* ==== CloudConnectionPool
*
* A specialized subclass of `SingleNodeConnectionPool` that accepts a Cloud Id and credentials.
* When used the client will also pick Elastic Cloud optmized defaults for the connection settings.
* When used the client will also pick Elastic Cloud optimized defaults for the connection settings.
*
* A Cloud Id for your cluster can be fetched from your Elastic Cloud cluster administration console.
*
Expand Down
Expand Up @@ -90,7 +90,7 @@ public class DisableSniffPingPerRequest
);

audit = await audit.TraceCall(
new ClientCall(r=>r.DisableSniffing().DisablePing()) // <1> diable ping and sniff
new ClientCall(r=>r.DisableSniffing().DisablePing()) // <1> disable ping and sniff
{
{ HealthyResponse, 9200 } // <2> no ping or sniff before the call
}
Expand Down
Expand Up @@ -47,7 +47,7 @@ public async Task ASniffOnStartupHappens()
.SniffLifeSpan(TimeSpan.FromMinutes(30))
)
);
/** healty cluster all nodes return healthy responses*/
/** healthy cluster all nodes return healthy responses*/
audit = await audit.TraceCalls(
new ClientCall { { HealthyResponse, 9200 } },
new ClientCall { { HealthyResponse, 9201 } },
Expand Down
Expand Up @@ -296,7 +296,7 @@ public void Inference()
ndexResponse = client.Index(indexRequest);
ndexResponse.ApiCall.Uri.Query.Should().Contain("routing=1337");
/**
* Its important to note that the routing is resolved at request time, not instantation time
* Its important to note that the routing is resolved at request time, not instantiation time
* here we update the `child`'s `JoinField` after already creating the index request for `child`
*/
child.MyJoinField = JoinField.Link<MyChild>(parentId: "something-else");
Expand Down
Expand Up @@ -48,7 +48,7 @@ public MyPluginProperty(string name, string language)
[PropertyName("numeric")]
public bool Numeric { get; set; }
}


[U (Skip = "TODO: Does not work with utf8json")]
// hide
Expand All @@ -58,7 +58,7 @@ public void InjectACustomIPropertyImplementation()
* `PropertyNameAttribute` can be used to mark properties that should be serialized. Without this attribute,
* NEST won't pick up the property for serialization.
*
* Now that we have our own `IProperty` implementation we can add it to our propertes mapping when creating an index
* Now that we have our own `IProperty` implementation we can add it to our properties mapping when creating an index
*/
var createIndexResponse = _client.Indices.Create("myindex", c => c
.Map<Project>(m => m
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs
Expand Up @@ -73,7 +73,7 @@ protected override void DisposeManagedResources()
}

/**
* `ConnectionSettings`, `IConnectionPool` and `IConnection` all explictily implement `IDisposable`
* `ConnectionSettings`, `IConnectionPool` and `IConnection` all explicitly implement `IDisposable`
*/
[U] public void InitialDisposeState()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Tests/ClientConcepts/LowLevel/PostData.doc.cs
Expand Up @@ -81,7 +81,7 @@ public PostingData()
/**[float]
* === Other types of PostData
*
* You can also pass the following objects directy to the low level client.
* You can also pass the following objects directly to the low level client.
*
* - A Serializable `object`
* - A collection of `object` as multi line json
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs
Expand Up @@ -268,7 +268,7 @@ private class DoubleParsingTestCases : List<Tuple<double, TimeSpan, string>>
* ==== Units of Time
*
* Where Units of Time can be specified as a union of either a `DateInterval` or `Time`,
* a `DateInterval` or `Time` may be passed which will be implicity converted to a
* a `DateInterval` or `Time` may be passed which will be implicitly converted to a
* `Union<DateInterval, Time>`, the serialized form of which represents the initial value
* passed
*/
Expand Down