You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: new_docs/contents/elasticsearch-net/cluster-failover.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ menuitem: esnet-cluster-failover
7
7
8
8
# Connection pooling & Cluster failover
9
9
10
-
One of the major benefits of `elasticsearch` is that it can handle dying and respawning nodes.
10
+
One of the major benefits of `Elasticsearch` is that it can handle dying and respawning nodes.
11
11
As long as enough nodes agree that the cluster is healthy, the cluster will continue to operate.
12
12
`Elasticsearch.net` comes with builtin support to handle falling over to a different node when the requested node failed.
13
13
@@ -38,7 +38,7 @@ Sets the timeout before a node is retried. The default `DateTimeProvider` will i
38
38
Sets the maximum time a node may be marked dead.
39
39
40
40
#### DisablePings()
41
-
By default before a previously dead node is retried a short ping will be send to the node to make sure the node will respond.
41
+
By default before a previously dead node is retried a short ping will be sent to the node to make sure the node will respond.
42
42
The reason for a separate call is that a ping will call an elasticsearch endpoint that won't stress the JVM. If a node is having issues retrying a possible heavy search operation on it might cause the request to fail later rather then asap. This setting allows you to disable these pings before retries.
Copy file name to clipboardExpand all lines: new_docs/contents/elasticsearch-net/errors.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ menuitem: esnet-errors
7
7
8
8
# Errors
9
9
10
-
`Elasticsearch.Net` will not throw if gets a http response other then 200 from Elasticsearch. The response object's `Success` property will be false and `.Error` will contain information on the failed response.
10
+
`Elasticsearch.Net` will not throw if it gets an http response other then 200 from Elasticsearch. The response object's `Success` property will be false and `.Error` will contain information on the failed response.
11
11
12
12
You can throw custom exceptions if you need too by specifying a custom connectionhandler
13
13
@@ -20,7 +20,7 @@ You can throw custom exceptions if you need too by specifying a custom connectio
20
20
21
21
## Exceptions
22
22
23
-
If a request has been retried the maximum amount of times a `MaxRetryException` is thrown. Note that requests are only retried when elasticsearch responds with a `503` or an unspecified connection exception (i.e timeout) occured on a node.
23
+
If a request has been retried the maximum amount of times a `MaxRetryException` is thrown. Note that requests are only retried when elasticsearch responds with a `503` or an unspecified connection exception (i.e timeout) has occured on a node.
24
24
25
25
`MaxRetryException` will hold the original exception as `.InnerException`.
Copy file name to clipboardExpand all lines: new_docs/contents/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ menuitem: introduction
7
7
8
8
# Introduction
9
9
10
-
You've reached the documentation page for `Elasticsearch.Net` and `NEST`. Two .net clients to talk with elasticsearch. So why two clients I hear you say?
10
+
You've reached the documentation page for `Elasticsearch.Net` and `NEST`. Two .net clients to talk with Elasticsearch. So why two clients I hear you say?
11
11
12
12
`Elasticsearch.Net` is a very low level, dependency free, client that has no opinions how you build and represent your requests and responses. It has abstracted
13
13
enough so that **all** the elasticsearch API endpoints are represented as methods but not too much to get in the way of how you want to build your json/request/response objects. It also comes with builtin, configurable/overridable, cluster failover retry mechanisms. Elasticsearch is elastic so why not your client?
@@ -20,9 +20,9 @@ Please read the getting started guide for both.
20
20
## Who's using Nest
21
21
*[stackoverflow.com](http://www.stackoverflow.com) (and the rest of the stackexchange family).
22
22
*[7digital.com](http://www.7digital.com) (run NEST on mono).
23
-
*[rijksmuseum.nl](https://www.rijksmuseum.nl/en) (elasticsearch is the only datastorage hit for each page).
23
+
*[rijksmuseum.nl](https://www.rijksmuseum.nl/en) (Elasticsearch is the only datastorage hit for each page).
24
24
*[Kiln](http://www.fogcreek.com/kiln/) FogCreek's version control & code review tooling.
25
-
They are so pleased with elasticsearch that [they made a video about how pleased they are!](http://blog.fogcreek.com/kiln-powered-by-elasticsearch/)
25
+
They are so pleased with Elasticsearch that [they made a video about how pleased they are!](http://blog.fogcreek.com/kiln-powered-by-elasticsearch/)
Copy file name to clipboardExpand all lines: new_docs/contents/nest/connecting.markdown
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,12 @@ If you want a failover client instead of passing a `Uri` pass an `IConnectionPoo
30
30
31
31
## Changing the underlying connection
32
32
33
-
By default NEST will use HTTP to chat with elasticsearch, alternative implementation of the transport layer can be injected in the constructors optional second parameter
33
+
By default NEST will use HTTP to chat with elasticsearch, alternative implementation of the transport layer can be injected using the constructors optional second parameter
34
34
35
35
var client = new ElasticClient(settings, new ThriftConnection(settings));
36
36
37
-
Nest comes with a Htpp connection`HttpConnection`, Thrift Connection `ThriftConnection`
38
-
and an in memory connection that nevers hits elasticsearch`InMemoryConnection`.
37
+
NEST comes with an Http Connection`HttpConnection`, Thrift Connection `ThriftConnection`
38
+
and an In-Memory Connection `InMemoryConnection`, that nevers hits elasticsearch.
39
39
40
40
## Settings
41
41
@@ -50,8 +50,8 @@ The easiest way to pass `IConnectionSettingsValues` is to instantiate `Connectio
50
50
.PluralizeTypeNames();
51
51
52
52
####AddContractJsonConverters
53
-
Add a custom JsonConverter to the build in json serialization by passing
54
-
in a predicate for a type. This way they will be part of the cached Json.net contract for a type.
53
+
Add a custom JsonConverter to the built in JSON serialization by passing
54
+
in a predicate for a type. This way they will be part of the cached Json.NET contract for a type.
55
55
56
56
settings.AddContractJsonConverters(t =>
57
57
typeof (Enum).IsAssignableFrom(t)
@@ -74,15 +74,15 @@ Index to default to when no index is specified.
74
74
####SetDefaultPropertyNameInferrer
75
75
By default NEST camelCases property names (EmailAddress => emailAddress)
76
76
that do not have an explicit propertyname either via an ElasticProperty attribute
77
-
or because they are part of Dictionary where the keys should be treated verbatim.
77
+
or because they are part of a Dictionary where the keys should be treated verbatim.
78
78
Here you can register a function that transforms propertynames (default
79
79
casing, pre- or suffixing)
80
80
81
81
####SetDefaultTypeNameInferrer
82
-
Allows you to override how type names should be reprented, the default will
82
+
Allows you to override how type names should be represented, the default will
83
83
call .ToLowerInvariant() on the type's name.
84
84
85
85
####SetJsonSerializerSettingsModifier
86
-
Allows you to update internal the json.net serializer settings to your liking.
87
-
Do not use this to add custom json converters use `AddContractJsonConverters` instead.
86
+
Allows you to update the internal Json.NET Serializer settings to your liking.
87
+
Do not use this to add custom JSON converters use `AddContractJsonConverters` instead.
Copy file name to clipboardExpand all lines: new_docs/contents/nest/core/bulk.markdown
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ menuitem: bulk
8
8
9
9
# Bulk
10
10
11
-
Nest long supported bulk index and deletes (through `IndexMany()` and `DeleteMany()`) but this shielded you from all that the elasticsearch`_bulk` api enpoint has to offer. Now you can use `Bulk()` to create any bulk request you'd like. E.g if you want to do index/create/delete's in a certain order.
11
+
NEST long supported bulk index and deletes (through `IndexMany()` and `DeleteMany()`) but this shielded you from all that the Elasticsearch`_bulk` api enpoint has to offer. Now you can use `Bulk()` to create any bulk request you'd like. E.g if you want to do index/create/delete's in a certain order.
12
12
13
13
# Examples
14
14
@@ -18,7 +18,7 @@ Nest long supported bulk index and deletes (through `IndexMany()` and `DeleteMan
18
18
.Delete<ElasticSearchProject>(i => i.Object(new ElasticSearchProject { Id = 4 }))
19
19
);
20
20
21
-
Each bulk operation can also be anotated with the right behaviours:
21
+
Each bulk operation can also be annotated with the right behaviours:
0 commit comments