@@ -13,36 +13,36 @@ public class ConfigurationOptions
1313 {
1414 /**[[configuration-options]]
1515 * === Configuration options
16- *
17- * Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
16+ *
17+ * Connecting to Elasticsearch with <<elasticsearch-net-getting-started,Elasticsearch.Net>> and <<nest-getting-started,NEST>> is easy, but
1818 * it's entirely possible that you'd like to change the default connection behaviour. There are a number of configuration options available
1919 * on `ConnectionSettings` (and `ConnectionConfiguration` for Elasticsearch.Net) that can be used to control
2020 * how the clients interact with Elasticsearch.
21- *
22- * ==== Options on ConnectionConfiguration
23- *
24- * The following is a list of available connection configuration options on `ConnectionConfiguration`; since
25- * `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
26- * Elasticsearch.Net and NEST:
27- *
28- * :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
29- *
30- * ==== Options on ConnectionSettings
31- *
32- * The following is a list of available connection configuration options on `ConnectionSettings`:
33- *
34- * :xml-docs: Nest:ConnectionSettingsBase`1
3521 *
36- * Here's an example to demonstrate setting several configuration options using the low level client
22+ * ==== Options on ConnectionConfiguration
23+ *
24+ * The following is a list of available connection configuration options on `ConnectionConfiguration`; since
25+ * `ConnectionSettings` derives from `ConnectionConfiguration`, these options are available for both
26+ * Elasticsearch.Net and NEST:
27+ *
28+ * :xml-docs: Elasticsearch.Net:ConnectionConfiguration`1
29+ *
30+ * ==== Options on ConnectionSettings
31+ *
32+ * The following is a list of available connection configuration options on `ConnectionSettings`:
33+ *
34+ * :xml-docs: Nest:ConnectionSettingsBase`1
35+ *
36+ * Here's an example to demonstrate setting several configuration options using the low level client
3737 */
3838 public void AvailableOptions ( )
3939 {
4040 var connectionConfiguration = new ConnectionConfiguration ( )
4141 . DisableAutomaticProxyDetection ( )
4242 . EnableHttpCompression ( )
4343 . DisableDirectStreaming ( )
44- . PrettyJson ( )
45- . RequestTimeout ( TimeSpan . FromMinutes ( 2 ) ) ;
44+ . PrettyJson ( )
45+ . RequestTimeout ( TimeSpan . FromMinutes ( 2 ) ) ;
4646
4747 var lowLevelClient = new ElasticLowLevelClient ( connectionConfiguration ) ;
4848
@@ -61,18 +61,18 @@ public void AvailableOptions()
6161 var client = new ElasticClient ( connectionSettings ) ;
6262
6363 /**[NOTE]
64- * ====
65- *
66- * Basic Authentication credentials can alternatively be specified on the node URI directly
64+ * ====
65+ *
66+ * Basic Authentication credentials can alternatively be specified on the node URI directly
6767 */
6868 var uri = new Uri ( "http://username:password@localhost:9200" ) ;
6969 var settings = new ConnectionConfiguration ( uri ) ;
7070 }
71- /**
72- * but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
71+ /**
72+ * but this can be awkward when using connection pooling with multiple nodes, especially when the connection pool
7373 * used is one that is capable of reseeding iteslf. For this reason, we'd recommend specifying credentials
7474 * on `ConnectionSettings`.
75- *====
76- */
75+ *====
76+ */
7777 }
7878}
0 commit comments