@@ -14,36 +14,36 @@ public class ConfigurationOptions
1414 {
1515 /**[[configuration-options]]
1616 * === Configuration options
17- *
18- * Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
17+ *
18+ * Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
1919 * it's entirely possible that you'd like to change the default connection behaviour. There are a number of configuration options available
2020 * on `ConnectionSettings` (and `ConnectionConfiguration` for Elasticsearch.Net) that can be used to control
2121 * how the clients interact with Elasticsearch.
22- *
23- * ==== Options on ConnectionConfiguration
24- *
25- * The following is a list of available connection configuration options on `ConnectionConfiguration`; since
26- * `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
27- * Elasticsearch.Net and NEST:
28- *
29- * :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
30- *
31- * ==== Options on ConnectionSettings
32- *
33- * The following is a list of available connection configuration options on `ConnectionSettings`:
34- *
35- * :xml-docs: Nest:ConnectionSettingsBase`1
3622 *
37- * Here's an example to demonstrate setting several configuration options using the low level client
23+ * ==== Options on ConnectionConfiguration
24+ *
25+ * The following is a list of available connection configuration options on `ConnectionConfiguration`; since
26+ * `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
27+ * Elasticsearch.Net and NEST:
28+ *
29+ * :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
30+ *
31+ * ==== Options on ConnectionSettings
32+ *
33+ * The following is a list of available connection configuration options on `ConnectionSettings`:
34+ *
35+ * :xml-docs: Nest:ConnectionSettingsBase`1
36+ *
37+ * Here's an example to demonstrate setting several configuration options using the low level client
3838 */
3939 public void AvailableOptions ( )
4040 {
4141 var connectionConfiguration = new ConnectionConfiguration ( )
4242 . DisableAutomaticProxyDetection ( )
4343 . EnableHttpCompression ( )
4444 . DisableDirectStreaming ( )
45- . PrettyJson ( )
46- . RequestTimeout ( TimeSpan . FromMinutes ( 2 ) ) ;
45+ . PrettyJson ( )
46+ . RequestTimeout ( TimeSpan . FromMinutes ( 2 ) ) ;
4747
4848 var lowLevelClient = new ElasticLowLevelClient ( connectionConfiguration ) ;
4949
@@ -63,18 +63,18 @@ public void AvailableOptions()
6363 var client = new ElasticClient ( connectionSettings ) ;
6464
6565 /**[NOTE]
66- * ====
67- *
68- * Basic Authentication credentials can alternatively be specified on the node URI directly
66+ * ====
67+ *
68+ * Basic Authentication credentials can alternatively be specified on the node URI directly
6969 */
7070 var uri = new Uri ( "http://username:password@localhost:9200" ) ;
7171 var settings = new ConnectionConfiguration ( uri ) ;
7272 }
73- /**
74- * but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
73+ /**
74+ * but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
7575 * used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
7676 * on `ConnectionSettings`.
77- *====
78- */
77+ *====
78+ */
7979 }
8080}
0 commit comments