Skip to content

Commit 0b854ef

Browse files
committed
Replace links to elasticsearch.org with elastic.co (#4220)
This commit replaces the remaining links to elasticsearch.org with their elastic.co counterparts. Closes #3915 (cherry picked from commit 58e45ca)
1 parent af5a170 commit 0b854ef

File tree

10 files changed

+34
-31
lines changed

10 files changed

+34
-31
lines changed

contributing.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ Contributing back to `Elasticsearch.Net` and `NEST` is very much appreciated.
44
Whether you [feel the need to change one character](https://github.com/elasticsearch/elasticsearch-net/pull/536) or have a go at
55
[mapping new APIs](http://github.com/elasticsearch/elasticsearch-net/pull/376), no pull request (PR) is too small or too big.
66

7-
In fact many of our most awesome features/fixes have been provided to us by [these wonderful folks](https://github.com/elasticsearch/elasticsearch-net/graphs/contributors) to which we are forever indebted.
7+
In fact many of our most awesome features/fixes have been provided to us by
8+
[these wonderful folks](https://github.com/elasticsearch/elasticsearch-net/graphs/contributors) to which we are forever indebted.
89

910
It's usually best to open an issue first to discuss a feature or bug, before opening a pull request. Doing so can save time and help further ascertain the crux of an issue.
1011

1112
## Sign the CLA
1213

13-
We do ask that you sign the [Elasticsearch CLA](https://www.elastic.co/contributor-agreement/) before we can accept pull requests from you.
14+
We do ask that you sign the [Elasticsearch CLA](https://www.elastic.co/contributor-agreement) before we can accept pull requests from you.
1415

1516
## Coding Styleguide
1617

@@ -23,8 +24,8 @@ In most cases we won't shun a PR just because it uses the wrong indentation sett
2324
## Tests
2425

2526
PRs with tests are more likely to be reviewed faster because it makes the job or reviewing the PR much easier. That being said,
26-
we respect that you may be fixing a bug in your own time and might not have the time/energy to submit a PR with complete tests.
27-
In those cases, we tend to pull your bits locally and write tests ourselves, but this may mean your PR might sit idle longer than you would like.
27+
we respect that you may be fixing a bug in your own time and may not have the time/energy to submit a PR with complete tests.
28+
In those cases we tend to pull your bits locally and write tests ourselves, but this may mean your PR might sit idle longer than you would like.
2829

2930
## Branches
3031

@@ -65,13 +66,13 @@ The solution uses a number of awesome Open Source software tools to ease develop
6566
for Windows
6667

6768
```
68-
build.bat
69+
.\build.bat
6970
```
7071

7172
for OSX/Linux
7273

7374
```
74-
build.sh
75+
./build.sh
7576
```
7677

7778
This will
@@ -94,21 +95,22 @@ The build script has a number of different build targets to run different types
9495
### Compile and run unit tests
9596

9697
```bat
97-
build.bat
98+
.\build.bat
9899
```
99100
with no target will run the `Build` target, compiling the solution and running unit tests
100101

101102
### Compile
102103

103-
```bash
104-
build.bat skiptests
104+
```bat
105+
.\build.bat skiptests
105106
```
107+
106108
This compiles the solution and skips running tests
107109

108110
### Quick Compile and run integration tests
109111

110-
```bash
111-
build.bat integrate [Elasticsearch Version Number e.g. 5.0.0]
112+
```bat
113+
.\build.bat integrate [Elasticsearch Version Number e.g. 5.0.0]
112114
```
113115
will quick compile the solution and run integration tests against the target Elasticsearch version. The first time this is run for a version of Elasticsearch, it will download Elasticsearch and unzip Elasticsearch, install the plugins necessary to run the integration tests, and start the node. Because of this, the first run may take some time to start.
114116

src/Elasticsearch.Net/Configuration/ConnectionConfiguration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class ConnectionConfiguration : ConnectionConfiguration<ConnectionConfigu
6666
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
6767
public ConnectionConfiguration(Uri uri = null)
6868
: this(new SingleNodeConnectionPool(uri ?? new Uri("http://localhost:9200"))) { }
69-
69+
7070
/// <summary>
7171
/// Sets up the client to communicate to Elastic Cloud using <paramref name="cloudId"/>,
7272
/// <para><see cref="CloudConnectionPool"/> documentation for more information on how to obtain your Cloud Id</para>
@@ -180,7 +180,7 @@ protected ConnectionConfiguration(IConnectionPool connectionPool, IConnection co
180180

181181
_urlFormatter = new ElasticsearchUrlFormatter(this);
182182
_statusCodeToResponseSuccess = (m, i) => HttpStatusCodeClassifier(m, i);
183-
183+
184184
if (connectionPool is CloudConnectionPool cloudPool)
185185
{
186186
_basicAuthCredentials = cloudPool.BasicCredentials;
@@ -309,7 +309,7 @@ public T SniffOnConnectionFault(bool sniffsOnConnectionFault = true) =>
309309
/// <summary>
310310
/// Enables gzip compressed requests and responses.
311311
/// <para>IMPORTANT: You need to configure http compression on Elasticsearch to be able to use this</para>
312-
/// <para>http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html</para>
312+
/// <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html</para>
313313
/// </summary>
314314
public T EnableHttpCompression(bool enabled = true) => Assign(enabled, (a, v) => a._enableHttpCompression = v);
315315

src/Elasticsearch.Net/Configuration/IConnectionConfigurationValues.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public interface IConnectionConfigurationValues : IDisposable
8181

8282
/// <summary>
8383
/// Enable gzip compressed requests and responses, do note that you need to configure Elasticsearch to set this
84-
/// <para>http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html</para>
84+
/// <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html</para>
8585
/// </summary>
8686
bool EnableHttpCompression { get; }
8787

@@ -231,7 +231,7 @@ public interface IConnectionConfigurationValues : IDisposable
231231
/// versions that initiate requests to Elasticsearch
232232
/// </summary>
233233
string UserAgent { get; }
234-
234+
235235
/// <summary>
236236
/// Allow you to override the status code inspection that sets <see cref="ElasticsearchResponseBase.Success"/>
237237
/// <para>

src/Nest/Document/Multiple/Bulk/ElasticClient-DeleteMany.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static class DeleteManyExtensions
1313
/// <summary>
1414
/// Shortcut into the Bulk call that deletes the specified objects
1515
/// <para> </para>
16-
/// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
16+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
1717
/// </summary>
1818
/// <param name="client"></param>
1919
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
@@ -31,7 +31,7 @@ public static BulkResponse DeleteMany<T>(this IElasticClient client, IEnumerable
3131
/// <summary>
3232
/// Shortcut into the Bulk call that deletes the specified objects
3333
/// <para> </para>
34-
/// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
34+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
3535
/// </summary>
3636
/// <param name="client"></param>
3737
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>

src/Nest/Document/Multiple/Bulk/ElasticClient-IndexMany.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static class IndexManyExtensions
1313
/// <summary>
1414
/// Shortcut into the Bulk call that indexes the specified objects
1515
/// <para> </para>
16-
/// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
16+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
1717
/// </summary>
1818
/// <param name="client"></param>
1919
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
@@ -30,7 +30,7 @@ public static BulkResponse IndexMany<T>(this IElasticClient client, IEnumerable<
3030
/// <summary>
3131
/// Shortcut into the Bulk call that indexes the specified objects
3232
/// <para> </para>
33-
/// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
33+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
3434
/// </summary>
3535
/// <param name="client"></param>
3636
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>

src/Nest/Document/Multiple/MultiGet/ElasticClient-GetMany.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static class GetManyExtensions
1616
/// The response includes a docs array with all the fetched documents, each element similar in structure to a document
1717
/// provided by the get API.
1818
/// <para> </para>
19-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
19+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
2020
/// </summary>
2121
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
2222
/// <param name="client"></param>
@@ -39,7 +39,7 @@ public static IEnumerable<IMultiGetHit<T>> GetMany<T>(this IElasticClient client
3939
/// The response includes a docs array with all the fetched documents, each element similar in structure to a document
4040
/// provided by the get API.
4141
/// <para> </para>
42-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
42+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
4343
/// </summary>
4444
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
4545
/// <param name="client"></param>
@@ -54,7 +54,7 @@ public static IEnumerable<IMultiGetHit<T>> GetMany<T>(this IElasticClient client
5454
/// The response includes a docs array with all the fetched documents, each element similar in structure to a document
5555
/// provided by the get API.
5656
/// <para> </para>
57-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
57+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
5858
/// </summary>
5959
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
6060
/// <param name="client"></param>
@@ -80,7 +80,7 @@ public static async Task<IEnumerable<IMultiGetHit<T>>> GetManyAsync<T>(
8080
/// The response includes a docs array with all the fetched documents, each element similar in structure to a document
8181
/// provided by the get API.
8282
/// <para> </para>
83-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
83+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
8484
/// </summary>
8585
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
8686
/// <param name="client"></param>

src/Nest/Document/Multiple/MultiGet/ElasticClient-SourceMany.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class SourceManyExtensions
1919
/// provided by the get API.
2020
/// </para>
2121
/// <para> </para>
22-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
22+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
2323
/// </summary>
2424
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
2525
/// <param name="client"></param>
@@ -44,7 +44,7 @@ public static IEnumerable<T> SourceMany<T>(this IElasticClient client, IEnumerab
4444
/// provided by the get API.
4545
/// </para>
4646
/// <para> </para>
47-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
47+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
4848
/// </summary>
4949
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
5050
/// <param name="client"></param>
@@ -61,7 +61,7 @@ public static IEnumerable<T> SourceMany<T>(this IElasticClient client, IEnumerab
6161
/// provided by the get API.
6262
/// </para>
6363
/// <para> </para>
64-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
64+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
6565
/// </summary>
6666
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
6767
/// <param name="client"></param>
@@ -88,7 +88,7 @@ public static async Task<IEnumerable<T>> SourceManyAsync<T>(
8888
/// provided by the get API.
8989
/// </para>
9090
/// <para> </para>
91-
/// >http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-multi-get.html
91+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html
9292
/// </summary>
9393
/// <typeparam name="T">The type used to infer the default index and typename</typeparam>
9494
/// <param name="client"></param>

src/Nest/Document/Single/Index/ElasticClient-Index.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public partial interface IElasticClient
88
/// <summary>
99
/// Adds or updates a typed JSON document in a specific index, making it searchable.
1010
/// <para> </para>
11-
/// <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html">http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html</a>
11+
/// <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html">
12+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html</a>
1213
/// </summary>
1314
/// <typeparam name="TDocument">The document type used to infer the default index, type and id</typeparam>
1415
/// <param name="document">

src/Nest/Indices/MappingManagement/PutMapping/ElasticClient-Map.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public partial interface IElasticClient
99
/// <summary>
1010
/// The put mapping API allows to register specific mapping definition for a specific type.
1111
/// <para> </para>
12-
/// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-put-mapping.html
12+
/// https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html
1313
/// </summary>
1414
/// <typeparam name="T">The type we want to map in Elasticsearch</typeparam>
1515
/// <param name="selector">A descriptor to describe the mapping of our type</param>

src/Tests/Tests/XPack/MachineLearning/MachineLearningCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public override void Run(IEphemeralCluster<EphemeralClusterConfiguration> cluste
3939
var to = Path.Combine(cluster.FileSystem.LocalFolder, "server_metrics.tar.gz");
4040
if (!File.Exists(to))
4141
{
42-
var from = "https://download.elasticsearch.org/demos/machine_learning/gettingstarted/server_metrics.tar.gz";
42+
var from = "https://download.elastic.co/demos/machine_learning/gettingstarted/server_metrics.tar.gz";
4343
W($"Download machine learning sample data from: {from}");
4444
DownloadFile(from, to);
4545
W($"Downloaded machine learning sample data to: {to}");

0 commit comments

Comments
 (0)