Skip to content

Commit 58e45ca

Browse files
authored
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
1 parent 448c4d0 commit 58e45ca

File tree

10 files changed

+39
-45
lines changed

10 files changed

+39
-45
lines changed

contributing.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ 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 API's](http://github.com/elasticsearch/elasticsearch-net/pull/376) no 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
## Sign the CLA
1011

11-
We do ask that you sign the [Elasticsearch CLA](http://www.elasticsearch.org/contributor-agreement/) before we can accept pull requests from you.
12+
We do ask that you sign the [Elasticsearch CLA](https://www.elastic.co/contributor-agreement) before we can accept pull requests from you.
1213

1314
## Coding Styleguide
1415

@@ -20,13 +21,14 @@ In most cases we won't shun a PR just because it uses the wrong indentation sett
2021

2122
## Tests
2223

23-
PR's with tests are more likely to be reviewed faster because it makes the job or reviewing the PR much easier. That being said,
24-
we respect that you are fixing a bug in your own time and might not have the time/energy to submit a PR with complete tests.
24+
PRs with tests are more likely to be reviewed faster because it makes the job or reviewing the PR much easier. That being said,
25+
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.
2526
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.
2627

2728
## Branches
2829

29-
- `master` for the latest client (currently _7.x alpha_)
30+
- `master` for the latest client (currently _8.x alpha_)
31+
- `7.x` for 7.x compatible client
3032
- `6.x` for 6.x compatible client
3133
- `5.x` for 5.x compatible client
3234
- `2.x` for 2.x compatible client (no longer maintained)
@@ -45,31 +47,21 @@ Please submit your [Pull Requests](https://help.github.com/articles/creating-a-p
4547

4648
# Building the solution
4749

48-
The solution uses a number of awesome Open Source software tools to ease development:
49-
50-
## Paket
51-
52-
[Paket](https://fsprojects.github.io/Paket/) is the dependency manager of choice for handling dependencies of both the solution and the build automation system. It works for both .NET and Mono, with an ability to reference packages from Nuget and also files directly from github.
53-
54-
## FAKE
55-
56-
[FAKE (F# MAKE)](http://fsharp.github.io/FAKE/) is used as the build automation system for the solution. To get started after cloning the solution, it's best to run the build script in the root
57-
5850
for Windows
5951

6052
```
61-
build.bat
53+
.\build.bat
6254
```
6355

6456
for OSX/Linux
6557

6658
```
67-
build.sh
59+
./build.sh
6860
```
6961

7062
This will
7163

72-
- Pull down all the paket dependencies for the build process as well as the solution
64+
- Pull down all the dependencies for the build process as well as the solution
7365
- Run the default build target for the solution
7466

7567
You can also compile the solution within Visual Studio if you prefer, but the build script is going to be _much_ faster.
@@ -82,26 +74,27 @@ The `Tests` project contains both xunit unit and integration tests. A `tests.yam
8274
- `i` for integration tests
8375
- `m` for mixed mode i.e. unit and integration tests
8476

85-
The build script has a number of different build targets to run different types of tests, see the [`Targets.fsx` script in the `scripts` project](https://github.com/elastic/elasticsearch-net/blob/master/build/scripts/Targets.fsx) for the complete list, but the main ones are:
77+
The build script has a number of different build targets to run different types of tests, see the [`Targets.fs` file in the `scripts` project](https://github.com/elastic/elasticsearch-net/blob/master/build/scripts/Targets.fs) for the complete list, but the main ones are:
8678

8779
### Compile and run unit tests
8880

89-
```bash
90-
build.bat
81+
```bat
82+
.\build.bat
9183
```
9284
with no target will run the `Build` target, compiling the solution and running unit tests
9385

9486
### Compile
9587

96-
```bash
97-
build.bat skiptests
88+
```bat
89+
.\build.bat skiptests
9890
```
91+
9992
This compiles the solution and skips running tests
10093

10194
### Quick Compile and run integration tests
10295

103-
```bash
104-
build.bat integrate [Elasticsearch Version Number e.g. 5.0.0]
96+
```bat
97+
.\build.bat integrate [Elasticsearch Version Number e.g. 5.0.0]
10598
```
10699
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.
107100

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)