We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1660c commit e81a0f6Copy full SHA for e81a0f6
samples/Bing.Elasticsearch.WinformSample/Program.cs
@@ -27,11 +27,17 @@ static IServiceProvider GetServiceProvider()
27
var services = new ServiceCollection();
28
services.AddElasticsearch(o =>
29
{
30
+ //o.Urls = new List<string>
31
+ //{
32
+ // "http://10.186.132.138:9200"
33
+ //};
34
+ //o.DefaultIndex = "bing_es_sample";
35
o.Urls = new List<string>
36
- "http://10.186.132.138:9200"
37
+ "http://10.186.135.120:9200",
38
+ "http://10.186.135.125:9200",
39
+ "http://10.186.135.135:9200",
40
};
- o.DefaultIndex = "bing_es_sample";
41
});
42
43
services.AddSingleton(typeof(Form1));
0 commit comments