@@ -50,6 +50,34 @@ the `HttpClientHandler` instances used by the `HttpClient` inside the default
50
50
The time to put dead nodes out of rotation (this will be multiplied by the
51
51
number of times they've been dead).
52
52
53
+ `DefaultDisableIdInference`::
54
+
55
+ Disables automatic Id inference for given CLR types.
56
+ +
57
+ The client by default will use the value of a property named `Id` on a CLR type
58
+ as the `_id` to send to {es}. Adding a type will disable this behaviour for that
59
+ CLR type. If `Id` inference should be disabled for all CLR types, use
60
+ `DefaultDisableIdInference`.
61
+
62
+ `DefaultFieldNameInferrer`::
63
+
64
+ Specifies how field names are inferred from CLR property names.
65
+ +
66
+ By default, the client camel cases property names. For example, CLR property
67
+ `EmailAddress` will be inferred as "emailAddress" {es} document field name.
68
+
69
+ `DefaultIndex`::
70
+
71
+ The default index to use for a request when no index has been explicitly
72
+ specified and no default indices are specified for the given CLR type specified
73
+ for the request.
74
+
75
+ `DefaultMappingFor`::
76
+
77
+ Specify how the mapping is inferred for a given CLR type. The mapping can infer
78
+ the index, id and relation name for a given CLR type, as well as control
79
+ serialization behaviour for CLR properties.
80
+
53
81
`DisableAutomaticProxyDetection`::
54
82
55
83
Disabled proxy detection on the webrequest, in some cases this may speed up the
@@ -200,39 +228,6 @@ The user agent string to send with requests. Useful for debugging purposes to
200
228
understand client and framework versions that initiate requests to {es}.
201
229
202
230
203
- ==== Options on ConnectionSettings
204
-
205
- The following is a list of available connection configuration options on
206
- `ConnectionSettings`:
207
-
208
- `DefaultDisableIdInference`::
209
-
210
- Disables automatic Id inference for given CLR types.
211
- +
212
- The client by default will use the value of a property named `Id` on a CLR type
213
- as the `_id` to send to {es}. Adding a type will disable this behaviour for that
214
- CLR type. If `Id` inference should be disabled for all CLR types, use
215
- `DefaultDisableIdInference`.
216
-
217
- `DefaultFieldNameInferrer`::
218
-
219
- Specifies how field names are inferred from CLR property names.
220
- +
221
- By default, the client camel cases property names. For example, CLR property
222
- `EmailAddress` will be inferred as "emailAddress" {es} document field name.
223
-
224
- `DefaultIndex`::
225
-
226
- The default index to use for a request when no index has been explicitly
227
- specified and no default indices are specified for the given CLR type specified
228
- for the request.
229
-
230
- `DefaultMappingFor`::
231
-
232
- Specify how the mapping is inferred for a given CLR type. The mapping can infer
233
- the index, id and relation name for a given CLR type, as well as control
234
- serialization behaviour for CLR properties.
235
-
236
231
==== ElasticsearchClientSettings with ElasticsearchClient
237
232
238
233
Here's an example to demonstrate setting configuration options using the client.
0 commit comments