Skip to content

Commit 448c4d0

Browse files
authored
Fix spelling mistakes. (#4221)
Fix spelling mistakes and regenerate docs
1 parent e837dd0 commit 448c4d0

File tree

18 files changed

+18
-20
lines changed

18 files changed

+18
-20
lines changed

docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ However we encourage you to pass connection settings explicitly.
7878
==== CloudConnectionPool
7979

8080
A specialized subclass of `SingleNodeConnectionPool` that accepts a Cloud Id and credentials.
81-
When used the client will also pick Elastic Cloud optmized defaults for the connection settings.
81+
When used the client will also pick Elastic Cloud optimized defaults for the connection settings.
8282

8383
A Cloud Id for your cluster can be fetched from your Elastic Cloud cluster administration console.
8484

docs/client-concepts/connection-pooling/request-overrides/disable-sniff-ping-per-request.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ audit = await audit.TraceCall(
114114
}
115115
);
116116
----
117-
<1> diable ping and sniff
118-
117+
<1> disable ping and sniff
119118
<2> no ping or sniff before the call
120119

docs/client-concepts/connection-pooling/sniffing/on-stale-cluster-state.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var audit = new Auditor(() => VirtualClusterWith
4747
);
4848
----
4949

50-
healty cluster all nodes return healthy responses
50+
healthy cluster all nodes return healthy responses
5151

5252
[source,csharp]
5353
----

docs/client-concepts/connection/configuration-options.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ var settings = new ConnectionConfiguration(uri);
275275
----
276276
277277
but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
278-
used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
278+
used is one that is capable of reseeding itself. For this reason, we'd recommend specifying credentials
279279
on `ConnectionSettings`.
280280
281281
====

docs/client-concepts/high-level/mapping/parent-child-relationships.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ ndexResponse = client.Index(indexRequest);
296296
ndexResponse.ApiCall.Uri.Query.Should().Contain("routing=1337");
297297
----
298298

299-
Its important to note that the routing is resolved at request time, not instantation time
299+
Its important to note that the routing is resolved at request time, not instantiation time
300300
here we update the `child`'s `JoinField` after already creating the index request for `child`
301301

302302
[source,csharp]

docs/client-concepts/high-level/serialization/extending-nest-types.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class MyPluginProperty : IProperty
5252
`PropertyNameAttribute` can be used to mark properties that should be serialized. Without this attribute,
5353
NEST won't pick up the property for serialization.
5454

55-
Now that we have our own `IProperty` implementation we can add it to our propertes mapping when creating an index
55+
Now that we have our own `IProperty` implementation we can add it to our properties mapping when creating an index
5656

5757
[source,csharp]
5858
----

docs/client-concepts/low-level/lifetimes.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private class AConnection : InMemoryConnection
7474
}
7575
----
7676

77-
`ConnectionSettings`, `IConnectionPool` and `IConnection` all explictily implement `IDisposable`
77+
`ConnectionSettings`, `IConnectionPool` and `IConnection` all explicitly implement `IDisposable`
7878

7979
[source,csharp]
8080
----

docs/client-concepts/low-level/post-data.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fromByteArray.Type.Should().Be(PostType.ByteArray);
6262
[float]
6363
=== Other types of PostData
6464

65-
You can also pass the following objects directy to the low level client.
65+
You can also pass the following objects directly to the low level client.
6666

6767
* A Serializable `object`
6868

docs/common-options/time-unit/time-units.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ that accepts a factor and time unit, or specify a string with ms time units
180180
==== Units of Time
181181

182182
Where Units of Time can be specified as a union of either a `DateInterval` or `Time`,
183-
a `DateInterval` or `Time` may be passed which will be implicity converted to a
183+
a `DateInterval` or `Time` may be passed which will be implicitly converted to a
184184
`Union<DateInterval, Time>`, the serialized form of which represents the initial value
185185
passed
186186

src/Tests/Tests/ClientConcepts/Connection/ConfigurationOptions.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void AvailableOptions()
7070
}
7171
/**
7272
* but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
73-
* used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
73+
* used is one that is capable of reseeding itself. For this reason, we'd recommend specifying credentials
7474
* on `ConnectionSettings`.
7575
*====
7676
*/

src/Tests/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ [U] public void SingleNode()
9090
* ==== CloudConnectionPool
9191
*
9292
* A specialized subclass of `SingleNodeConnectionPool` that accepts a Cloud Id and credentials.
93-
* When used the client will also pick Elastic Cloud optmized defaults for the connection settings.
93+
* When used the client will also pick Elastic Cloud optimized defaults for the connection settings.
9494
*
9595
* A Cloud Id for your cluster can be fetched from your Elastic Cloud cluster administration console.
9696
*

src/Tests/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/DisableSniffPingPerRequest.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ [U] public async Task DisableSniffAndPing()
9090
);
9191

9292
audit = await audit.TraceCall(
93-
new ClientCall(r=>r.DisableSniffing().DisablePing()) // <1> diable ping and sniff
93+
new ClientCall(r=>r.DisableSniffing().DisablePing()) // <1> disable ping and sniff
9494
{
9595
{ HealthyResponse, 9200 } // <2> no ping or sniff before the call
9696
}

src/Tests/Tests/ClientConcepts/ConnectionPooling/Sniffing/OnStaleClusterState.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public async Task ASniffOnStartupHappens()
4747
.SniffLifeSpan(TimeSpan.FromMinutes(30))
4848
)
4949
);
50-
/** healty cluster all nodes return healthy responses*/
50+
/** healthy cluster all nodes return healthy responses*/
5151
audit = await audit.TraceCalls(
5252
new ClientCall { { HealthyResponse, 9200 } },
5353
new ClientCall { { HealthyResponse, 9201 } },

src/Tests/Tests/ClientConcepts/HighLevel/Mapping/ParentChildRelationships.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public void Inference()
296296
ndexResponse = client.Index(indexRequest);
297297
ndexResponse.ApiCall.Uri.Query.Should().Contain("routing=1337");
298298
/**
299-
* Its important to note that the routing is resolved at request time, not instantation time
299+
* Its important to note that the routing is resolved at request time, not instantiation time
300300
* here we update the `child`'s `JoinField` after already creating the index request for `child`
301301
*/
302302
child.MyJoinField = JoinField.Link<MyChild>(parentId: "something-else");

src/Tests/Tests/ClientConcepts/HighLevel/Serialization/ExtendingNestTypes.doc.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,14 @@ public MyPluginProperty(string name, string language)
5252
public bool Numeric { get; set; }
5353
}
5454

55-
5655
[U]
5756
public void InjectACustomIPropertyImplementation()
5857
{
5958
/**
6059
* `PropertyNameAttribute` can be used to mark properties that should be serialized. Without this attribute,
6160
* NEST won't pick up the property for serialization.
6261
*
63-
* Now that we have our own `IProperty` implementation we can add it to our propertes mapping when creating an index
62+
* Now that we have our own `IProperty` implementation we can add it to our properties mapping when creating an index
6463
*/
6564
var createIndexResponse = client.Indices.Create("myindex", c => c
6665
.Map<Project>(m => m

src/Tests/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected override void DisposeManagedResources()
7373
}
7474

7575
/**
76-
* `ConnectionSettings`, `IConnectionPool` and `IConnection` all explictily implement `IDisposable`
76+
* `ConnectionSettings`, `IConnectionPool` and `IConnection` all explicitly implement `IDisposable`
7777
*/
7878
[U] public void InitialDisposeState()
7979
{

src/Tests/Tests/ClientConcepts/LowLevel/PostData.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ [U] public void ExplicitCreation()
8181
/**[float]
8282
* === Other types of PostData
8383
*
84-
* You can also pass the following objects directy to the low level client.
84+
* You can also pass the following objects directly to the low level client.
8585
*
8686
* - A Serializable `object`
8787
* - A collection of `object` as multi line json

src/Tests/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ [U] public void UsingInterval()
268268
* ==== Units of Time
269269
*
270270
* Where Units of Time can be specified as a union of either a `DateInterval` or `Time`,
271-
* a `DateInterval` or `Time` may be passed which will be implicity converted to a
271+
* a `DateInterval` or `Time` may be passed which will be implicitly converted to a
272272
* `Union<DateInterval, Time>`, the serialized form of which represents the initial value
273273
* passed
274274
*/

0 commit comments

Comments
 (0)